IC6 Iris Dataset Scatter Plot
✓ Published2🌍 Public
This scatter plot visualizes the classic Iris dataset, showing petal length against sepal length. Each point is colored by species (setosa, versicolor, virginica) to reveal clustering patterns in flower measurements. The visualization demonstrates a clean React and D3 integration, using d3.scaleLinear for axis scaling, d3.axisLeft and d3.axisBottom for tick marks, and a d3.selection join to render SVG circles. Data loads asynchronously via d3.csv into the React state, with layout dimensions derived from the window size.
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