2. Data Driven Documents
HTML Documents
Dynamic, Interactive Content
dependent on Data
Manipulate documents based on data
3. A Soup of Technologies
● HTML: Document structure
● Javascript: Dynamic content
● SVG: For scalable code-based graphics
● CSS: For styling documents
This is where
D3 comes in
4. The Wiki to your help!
https://github.com/mbostock/d3/wiki/Tutorials
5. Things that you can do with D3
● http://www.nytimes.com/interactive/2014/11/04/upshot/senate-maps.html
● http://www.nytimes.com/interactive/2014/upshot/buy-rent-calculator.html
● http://www.nytimes.com/newsgraphics/2013/10/13/russia/
● http://www.nytimes.com/interactive/2013/02/20/movies/among-the-oscar-contenders-a-host-of-
connections.html
● https://github.com/mbostock/d3/wiki/Gallery
● http://www.mittaluday.com
11. D3 allows you to
1. Generate HTML elements based on Data
2. Create smooth interactions and animations with HTML elements
12. Concepts to explored
● D3 CSV: https://github.com/mbostock/d3/wiki/CSV
● D3 selections: What? How? Ways to select? Operations on selections
● D3 data joins: How to associate data to HTML elements
○ Enter Selection
○ Exit Selection
● D3 Scales
● D3 transitions: Animations
More here-https://github.com/mbostock/d3/wiki/API-Reference