Fork of React & D3 Starter
✓ Published0🌍 Public
This example visualizes the classic Iris dataset as a scatterplot, mapping sepal length to the x-axis and petal length to the y-axis. It serves as a starter template demonstrating a decoupled React and D3 integration pattern for scalable projects. The visualization uses D3 v7 scales and axes for rendering, while React manages component structure and data loading via the `useData` hook. Data is loaded from a CSV file using `d3.csv`, and points are drawn as semi-transparent circles using SVG.
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