Skip to main content
100%

Fork of ICE7 - Reusable Scatter Plot

✓ Published0🌍 Public
JJustin Roberts
Last edited Mar 11, 2023
Created on Mar 11, 2023

This interactive scatter plot visualizes the Iris dataset, cycling through different feature combinations on the x-axis while displaying sepal length on the y-axis. The visualization updates every few seconds using `setInterval`, transitioning between petal width, sepal width, petal length, and sepal length measurements. Circles are colored by species (setosa, versicolor, virginica) using distinct colors, with a legend showing species labels. The code uses D3 v6 APIs including `scaleLinear`, `axisLeft`, `axisBottom`, `csv` for data loading, and `join` for circle creation, with SVG rendering and animation. The reusable chart pattern follows Mike Bostock's "Towards Reusable Charts" approach.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes