React & D3 Starter
✓ Published0🌍 Public
A scatter plot of the Iris dataset shows sepal length against petal length, with each of the 150 flowers represented as a semi-transparent circle. The visualization demonstrates a decoupled React and D3 integration pattern, where React manages the SVG container and D3 handles the rendering logic. The code uses d3.csv for data loading, d3.scaleLinear for scaling, and d3.axisLeft and d3.axisBottom for the axes.
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