Skip to main content
100%

reusable-d3-scatter-plot-ICE-7

✓ Published1🌍 Public
Hhossaphul
Last edited Mar 26, 2023
Created on Mar 25, 2023

This animated scatter plot visualizes the Iris dataset, mapping flower measurements to x- and y-axes while using distinct symbol shapes and colors to represent the three species (setosa, versicolor, virginica). Built with D3 v7, the reusable chart cycles its x-axis variable every 20 seconds among petal width, sepal width, petal length, and sepal length to reveal different feature relationships. It uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for color and symbol mapping, and `d3.axisLeft` and `d3.axisBottom` for rendering scales.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes