Fork of React & D3 Starter
✓ Published0🌍 Public
This scatter plot displays the Iris dataset, mapping sepal length on the x-axis against petal length on the y-axis. It uses React for component management and D3 v7 for rendering an SVG with circles and axes. The implementation decouples React and D3, using a custom `useData` hook to fetch CSV data and a `VizWrapper` to orchestrate the D3 visualization.
AI-generated descriptionThis 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