# Relearning D3.js

- Link: https://cagrimmett.com/2016/08/07/relearning-d3/
- Published: 2016-08-07T04:00:00-04:00
- Author: Chuck Grimmett

I was listening to [Data Stories Episode 22: NYT Graphics and D3 with Mike Bostock and Shan Carter](http://datastori.es/data-stories-22-nyt-graphics-and-d3-with-mike-bostock-and-shan-carter/)
today and I realized that while I’ve used D3.js for [bar charts](http://cagrimmett.com/til/2016/04/26/responsive-d3-bar-chart.html)
and [mapping projections](http://cagrimmett.com/data-viz/2016/05/16/photo-metadata-analysis-project.html),
I don’t really _understand_ it. I never took the time to learn the fundamentals,
so I’ve always been constrained to cobbling together things from other examples.

That needs to change.

Here is a list of resources I plan to go through. I should be able to relearn the
basics fairly quickly so that I can spend time making charts of my own. I’ll update
completed items with check marks as I go through them.

 *  [_Notes_](https://cagrimmett.com/til/2016/08/14/d3-introduction-notes.html) –
   [D3js.org Introduction](https://d3js.org/#introduction) – Actually read the full
   thing, not skip 1/2 of it like I originally did.
 *  [Chapter 2: Introducing D3 in _Interactive Data Visualization for the Web_](http://chimera.labs.oreilly.com/books/1230000000345/ch02.html)
 *  [_Notes_](https://cagrimmett.com/til/2016/08/14/d3-introduction-notes.html/#notes-from-thinking-with-joinshttpsbostocksorgmikejoin-by-mike-bostock)–
   [Thinking with Joins by Mike Bostock](https://bost.ocks.org/mike/join/) – Joins
   are a foundational part of D3. In short, you are declaring a relationship between
   a selection and data.
 *  [How Selections Work by Mike Bostock](https://bost.ocks.org/mike/selection/)
 *  [_Notes_](https://cagrimmett.com/til/2016/08/16/d3-fun-with-circles.html) – 
   [Three Little Circles by Mike Bostock](https://bost.ocks.org/mike/circles/) –
   Manipulating circles with selections
 *  [Nested Selections by Mike Bostock](https://bost.ocks.org/mike/nest/)
 *  [General Update Pattern, parts 1-3 by Mike Bostock](http://bl.ocks.org/mbostock/3808218)–
   demonstrates D3’s general update pattern, where a data-join is followed by operations
   on the enter, update and exit selections
 *  [Chapter 6: Drawing with Data in _Interactive Data Visualization for the Web_](http://chimera.labs.oreilly.com/books/1230000000345/ch06.html)
 *  [Chapter 7: Scales in _Interactive Data Visualization for the Web_](http://chimera.labs.oreilly.com/books/1230000000345/ch07.html)
 *  [Chapter 8: Axes in _Interactive Data Visualization for the Web_](http://chimera.labs.oreilly.com/books/1230000000345/ch08.html)
 *  [Object Constancy by Mike Bostock](http://bost.ocks.org/mike/constancy/)
 *  [Transitions by Mike Bostock](http://bost.ocks.org/mike/transition/)
 *  [Let’s Make a Bar Chart, Parts 1-3 by Mike Bostock](https://bost.ocks.org/mike/bar/)
 *  [Let’s Make a Map by Mike Bostock](https://bost.ocks.org/mike/map/)
 *  [Let’s Make a Bubble Map by Mike Bostock](https://bost.ocks.org/mike/bubble-map/)
