working d3fiddle