🌍 Public
Fork of Reusable D3 Scatter Plot
This animated scatter plot explores the Iris dataset, cycling through different pairings of sepal and petal measurements every two seconds. It uses D3 v6's `scaleLinear`, `scaleOrdinal`, and axis components within a reusable `scatterPlot` function, rendering SVG circles with color-coded species. The visualization also includes a legend and a secondary set of static, elliptical marks, demonstrating data-driven attribute binding.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.