Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7- reusable scatter plot

Public visualization

Viewing a saved revision (read-only)

a253bcf7f57b46ffbda70f84b99de39c

ICE7- reusable scatter plot

0 stars0🌍 Public
KKolliTeja
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ice - 7

This visualization presents the Iris dataset as a dynamic scatter plot that cycles through different attribute pairings every two seconds, with points colored by species (setosa in red, versicolor in blue, virginica in green). Built with a reusable `scatterPlot` function using D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, the SVG chart renders axes and circles while a `setInterval` timer reconfigures the x-value mapping to explore petal and sepal measurements. The code imports data from a GitHub-hosted CSV and uses D3’s `csv` parser.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.