Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of DV ICE-7 krishna

Public visualization

Viewing a saved revision (read-only)

9e065bd54fc24529a53d215122627d6b

Fork of DV ICE-7 krishna

0 stars0🌍 Public
Mmandalasaikrishna007
Last edited Mar 27, 2022
Created on Mar 27, 2022

This animated scatter plot displays the Iris dataset, mapping petal width against sepal length and coloring points by species (versicolor, virginica, and setosa). The visualization cycles through four numerical columns—petal width, sepal width, petal length, and sepal length—every five seconds using `setInterval`. Built with D3 v6, the reusable chart component (`scatterPlot`) uses `scaleLinear`, `axisLeft`, and `axisBottom` to render SVG circles and axes. Data loads via `d3.csv` from a GitHub-hosted CSV file, with dimensions and margins configured programmatically.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.