Skip to main content
100%

Fork of ICE 7-1 Reusable Scatter Plot

✓ Published0🌍 Public
SSANEEM MOHAMMAD
Last edited Mar 26, 2023
Created on Mar 26, 2023

This example presents an animated scatter plot of the classic Iris flower dataset, encoding sepal length and petal width measurements. It dynamically cycles through four different attribute pairs on the x-axis every ten seconds, with species distinguished by color (using `d3.scaleOrdinal` and `schemeCategory10`) and unique SVG symbol shapes. Built with D3 v6, the reusable chart leverages `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` to update axes smoothly, while the enter-update-exit pattern animates the repositioning of data points.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes