tests and demos based on d3js