Skip to main content
100%

pree

✓ Published0🌍 Public
Ppreethamkesa
Last edited Mar 27, 2022
Created on Mar 27, 2022

This visualization presents the Iris flower dataset as a reusable scatter plot with animated transitions between different attribute pairs. The animation cycles through four combinations of sepal and petal measurements every two seconds, with each point colored by species. Built using D3.js v6, the example implements a custom `scatterPlot` function that wraps `scaleLinear`, `axisLeft`, `axisBottom`, and `scaleOrdinal` APIs. SVG circles render the data, while a legend shows species assignments. The code loads data from a GitHub Gist and uses `setInterval` to coordinate the view changes.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes