http://bl.ocks.org/d3indepth/b6d4845973089bc1012dec1674d3aff8
Вводная
http://serganbus.github.io/d3tutorials/index.html
может еще здесь что найдешь
http://serganbus.github.io/blog/2015/01/28/d3-materials/
видосики
https://www.youtube.com/playlist?list=PL6il2r9i3BqH9PmbOf5wA5E1wOG3FT22p
d3pie - либа над d3
examples
http://d3pie.org/#examples
http://www.tutorialsteacher.com/d3js/select-dom-element-using-d3js
Once we’ve made a selection we can modify the elements in it using the following functions:
| Name |
Behaviour |
Example |
| .style |
Update the style |
d3.selectAll('circle').style('fill', 'red') |
| .attr |
Update an attribute |
d3.selectAll('rect').attr('width', 10) |
| .classed |
Add/remove a class attribute |
d3.select('.item').classed('selected', true) |
| .property |
Update an element's property |
d3.selectAll('.checkbox').property('checked', false) |
| .text |
Update the text content |
d3.select('div.title').text('My new book') |
| .html |
Change the html content |
d3.select('.legend').html('<div class="block"></div><div>0 - 10</div>') |