Fork of SharanyaFork of ICE-7: Reusable D3 Scatter Plot
✓ Published0🌍 Public
GGogineni44
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from SharanyaFork of ICE-7: Reusable D3 Scatter Plot
This interactive scatter plot visualizes the Iris dataset, mapping petal width against sepal length for individual iris flowers. The reusable chart, built with D3 v6, uses d3.scaleLinear for axes and d3.symbol with d3.scaleOrdinal to render distinct symbols colored by species (setosa, versicolor, virginica). A legend displays the color mapping, while a setInterval loop cycles through different column pairs every second, dynamically updating the x-axis mapping to explore correlations between sepal and petal measurements. The SVG rendering updates smoothly via a reusable function pattern.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed