Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pree

Public visualization

Viewing a saved revision (read-only)

ef76ae8ed33e4487a35af2636046e599

pree

0 stars0🌍 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.