News for hackers. Stuff that matters.
Re:How to learn D3.js by thibautg on Friday September 06, 2019 @07:46AM (#20894772)
Your article is very impressive, really good work!

These days I also tend not to use d3 for DOM manipulation, but only for its powerful helper functions (d3-scale, d3-array, d3-shape, d3-geo etc.)

I even try not to import d3-selection except for very specific cases.

I’m using Vue for DOM manipulation, and computed properties play very well with d3 helper functions (i.e. a scale which auto-updates itself reactively). In a way it’s very similar to ObservableHQ’s reactivity. Most examples from Observable can be relatively easily converted to Vue with computed properties.

There are no comments on this comment yet.