Hello HTML
✓ Published2🌍 Public
This example visualizes the classic Iris flower dataset as a scatter plot, mapping sepal length on the x-axis and petal length on the y-axis. It serves as a starter template demonstrating best practices for integrating React with D3, using `select` and `join` from D3 to update SVG elements declaratively. The code features a decoupled architecture with separate modules for axes, data loading, and the main visualization logic, leveraging `scaleLinear`, `extent`, and `axisBottom` APIs to render the chart.
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