DV ICE7-Reusable Scatter Plot for Iris Data
✓ Published2🌍 Public
This interactive scatter plot visualizes the Iris dataset, mapping petal width against sepal length across three flower species. The code uses D3 v6 APIs including `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `symbol` to render distinct shapes for each species. A reusable `scatterPlot` function configures margins, data accessors, and symbol size before rendering SVG marks. The chart displays all 150 records from the imported CSV file, with axes labeled and styled using the Share Tech font.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed