Skip to main content
100%

Reusable D3 Scatter Plot

✓ Published0🌍 Public
KKishen Patel
Last edited Mar 28, 2022
Created on Mar 28, 2022

This animated scatter plot visualizes the Iris dataset, cycling through different sepal and petal measurements on the x-axis while plotting sepal length on the y-axis. Points are color-coded by species, with a legend and axis labels updating dynamically. Built with D3 v6, it uses a reusable `scatterPlot` module with `scaleLinear` and SVG rendering. A `setInterval` timer triggers transitions between axes, showcasing the chart’s adaptability to different data dimensions.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes