ICE 7-1 Reusable Scatter Plot_Lokesh
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, encoding species with categorical colors and distinct SVG symbol shapes (spade, heart, ace) via d3.scaleOrdinal and d3.symbol. It uses d3.scaleLinear for axes and d3.axisLeft/axisBottom, with data loaded through d3.csv. Every ten seconds, the x-axis dynamically cycles between four measurements—petal width, sepal width, petal length, and sepal length—updating the positions of the 150 points with animated transitions. The chart is built as a reusable function following Mike Bostock’s reusable charts pattern, rendered with SVG paths.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed