d3-samples
Sometimes we need read some articles, forums, blogs to understand D3 features. But if we want just remind ourselves something we already knew, then is better just look at code sample. You could easily change it and play with it and see what's going on.
There are samples of D3 code that explains how to use some its features.
This code is supposed to be isolated as much as possible - like if we wish to explain/remember one feature of D3 then we are not going to use 5 more extra features for that (which might not be gotten yet by a reader of this code).
Each example has no more than 100 lines of code. Also there is tagging is used in order to show to the reader what feature is involved for particular example. Like #feature-1 #feature-3.
"Use the course, Luke!" (R)
Links:
- Tutorial: http://alignedleft.com/tutorials/d3
- Interactive Tutorial: http://alignedleft.com/projects/2014/easy-as-pi/ (mostly about transitions)
- Selections: http://bost.ocks.org/mike/selection/
- Scale: http://synthesis.sbecker.net/articles/2012/07/16/learning-d3-part-6-scales-colors
- Wiki: https://github.com/mbostock/d3/wiki
- Tips and tricks: https://leanpub.com/D3-Tips-and-Tricks/read