use d3 for rendering model