Demo building a bar chart with D3.js
There are several tags step1
, step2
, step3
, step4
& step5
showing tiny increments as you build this sample.
- Thinking with Joins - Mike Bostock explains how to think about enter, exit & update to keep your data and dom in sync.
- Let’s Make a Bar Chart - Mike Bostock walks through building a bar chart (much of this repo comes straight from there)