🌍 Public
Fork of Reusable D3 Scatter Plot
This animated scatter plot cycles through the Iris dataset, visualizing sepal and petal measurements across four dimensions. It uses the D3 v6 library to render circles via SVG, with a reusable `scatterPlot()` chart factory that updates scales and axes as the x-axis variable changes every few seconds. Each flower species is color-coded—red, violet, or orange—and labels are added dynamically. The datastream comes from a CSV file parsed with `d3.csv`, while `scaleLinear`, `axisLeft`, and `axisBottom` handle the coordinate system.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.