Fork of Fork of React & D3 Starter
This example demonstrates a React and D3 starter template for building scalable data visualizations with decoupled integration. It displays a scatterplot of flower measurements from the classic Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis using `d3.scaleLinear` and `d3.extent`. Circles represent individual data points, with axes generated via `d3.axisLeft` and `d3.axisBottom`. The visualization uses React versions 18.1.0 and D3 version 7.4.4, rendering in SVG. The architecture separates React components from D3 logic, showcasing patterns for handling complexity as projects grow.
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: