~/talk

Battle for the DOM: D3 vs. React

Talkat React Rally 2019 · 2019-08-22..08-23· [react, data-visualization]
slides:none on file

Declares DOM control belongs to React while D3 provides data tools, shows concrete examples: bar charts, line charts and a hex map built for The New Yorker midterms project, with code moving from heavy D3 DOM ops to tiny React-rendered components using D3 scales line and area generators and time parsing. Notes a performance test by Amelia Wattenberger favoring D3-as-utility plus React rendering, describes wrapping an SVG ref for legacy code and what actually works on deadline.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:24Working with D3 and vanilla JS
  3. 8:11The React transition
  4. 12:20Learning React for data vis
  5. 14:06Bar chart implementation
  6. 17:57D3 as a utility
  7. 20:06Refactoring and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.