D3 and React, Together
summary
Argues that D3 does calculations, React renders and that D3 only needs DOM control for transitions axes brushes, with concrete demos: live‑coded line, bar and radial charts built by computing scales and path commands in D3 then rendering SVG in React; a drag/drop expense UI and a Hamilton scroll/exploration tool that link components via React state; a viewer‑brain timeline tied to demographics. Code is shown live and the examples update and work interactively.
AI-written summary · about
chapters (11)
- 0:00Start
- 2:31Brushes
- 8:39Expense App
- 13:01Visualization
- 16:12Update the Scales for the X Scale
- 17:05Create a Line Generator with D3
- 20:11Group Elements
- 22:29The Bar Chart
- 24:27Color Scale
- 26:01Radius Scale
- 26:52Arc Generator








