200 words (1 min)

Inputting data into D3...

Here I’m just playing around with D3, hopefully getting some user input in.

Chart (svg edition)


  • order of text and rect matter (text after rect)
  • nested updates are tricky, but okay once you get it
  • select and selectAll are different beasts, especially within merge