Added elementary d3 code