How D3 Selections Work
bost.ocks.org
bost.ocks.org
It would be fun to make an interactive tool that generates the diagram directly from the given selection and data (and probably wouldn’t be too hard to repurpose the existing code). But the JavaScript console and element inspector are so useful on their own for learning D3 + DOM, it’s likely more fruitful to encourage people to use the console directly.
Anytime I whip up a new visualization in d3, I look like a wizard at the office. Thanks Mike! Owe you a beer if you're ever in DC.