Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
Cchiara01050105@gmail.com
Last edited Sep 24, 2023
Created on Sep 24, 2023
Forked from React & D3 Starter

This fork of the React & D3 Starter visualizes the classic Iris dataset as a scatter plot. The code demonstrates a decoupled React and D3 integration pattern where a `VizWrapper` React component manages the SVG container and calls a separate `viz` function to handle D3 rendering. Using D3 v7 APIs like `scaleLinear`, `extent`, `csv`, `axisLeft`, and `axisBottom`, the example plots sepal length against petal length. The JavaScript and React libraries are loaded via UMD from unpkg, and the data is fetched from a local CSV file.

AI-generated description

This viz is a starter that demonstrates patterns used in real world projects in which complexity is anticipated to scale.

  • Decoupled React & D3 integration
  • Opening moves for scalable complexity
  • Industry standard ES modules and JSX
  • Copy-paste into existing projects

Any questions? Ask on Twitter!

Also viewable in:

MIT Licensed

Similar vizzes