Skip to main content
100%

scatter plot

✓ Published1🌍 Public
Ssravya010
Last edited Mar 9, 2026
Created on Mar 9, 2026
Forked from bar chart

This scatter plot uses the classic Iris dataset to compare sepal length and petal length across three flower species, with a legend and interactive tooltips. The D3.v7 code loads CSV data via `d3.csv`, applies `d3.scaleLinear` for axes and `d3.scaleOrdinal` for categorical colors. Points are rendered as SVG circles, with a grid drawn using `d3.axisBottom` and `d3.axisLeft`, and mouse events enlarge points and display detailed measurements.

AI-generated description
MIT Licensed

Similar vizzes