Fork of React & D3 Starter
✓ Published0🌍 Public
This example shows a scatterplot of the Iris dataset, plotting sepal length against petal length for each flower sample. The visualization is built with React and D3 v7, where React manages the component lifecycle and D3 handles the rendering of circles, axes, and scales. The visualization uses D3's `csv` loader to parse the data, `scaleLinear` for coordinate mapping, and `axisLeft`/`axisBottom` for the axes, all output as SVG elements.
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