d3 logic splitted, graphic works well
final graphic with dammy data