Fork of React & D3 Starter
✓ Published0🌍 Public
This example shows a scatterplot of the classic Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis with semi-transparent circles. It is built as a React component that loads CSV data via d3.csv and renders SVG elements, using d3.scaleLinear for scales and d3.axisBottom/axisLeft for axes. The visualization demonstrates a decoupled architecture where React manages the component lifecycle and D3 handles the chart rendering, making it a practical starter template for scaling up complex projects.
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