sample for d3js