🌍 Public
Viewing a saved revision (read-only)
ac3ba43e7f6445b98dbcf53e1dc05fbf
Reusable D3 Scatter Plot
This scatter plot demonstrates a reusable D3.js chart that visualizes the Iris dataset, mapping petal and sepal measurements on the x and y axes. The code uses d3.csv to load data, d3.scaleLinear for axes, and d3.scaleOrdinal for coloring points by species. A timer cycles through different column combinations every two seconds, producing an animated exploration of the dataset's four numeric attributes. SVG circles are rendered with interactive axes and a legend, following the design principles of Towards Reusable Charts.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.