ICE 7 Reusable scatter plot
✓ Published0🌍 Public
This reusable scatter plot visualizes the Iris Dataset, mapping petal width, sepal width, petal length, and sepal length onto the x-axis while keeping sepal length on the y-axis. It uses D3’s `scaleLinear`, `scaleOrdinal`, and `symbol` to encode species with distinct SVG path shapes. The plot cycles through the four x-axis variables every two seconds via `setInterval`, re-calling the chart with updated accessors. Rendering is fully SVG-based, with axes generated by `axisLeft` and `axisBottom`, and the viewport resizes to the full window dimensions.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed