Scatterplot_ICE7
✓ Published0🌍 Public
This interactive scatter plot displays the Iris dataset, mapping petal width against sepal length. It uses D3 v6 APIs including `scaleLinear`, `scaleOrdinal`, `extent`, and `symbol` to render SVG marks, with colors assigned by species. The visualization cycles through all four numeric data columns every two seconds using `setInterval`, updating the x-axis to show different variable pairs. The reusable chart component, built with a `scatterPlot` factory function, adjusts its axes and marks dynamically via methods like `.xValue()` and `.yValue()`, while axis labels and a title are appended directly to the SVG.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed