Skip to main content
Public

Share visualization

Loading preview…

ICE-7 Resuable scatter plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE-7 Resuable scatter plot

0
Nnikhilagopi
Last edited Mar 29, 2023
Created on Mar 29, 2023

This interactive scatter plot animates through different pairings of Iris flower measurements, cycling between petal width, sepal width, petal length, and sepal length every two seconds. Circles representing individual flowers are colored by species—green for setosa, indigo for versicolor, and red for virginica—using D3’s `scaleLinear`, `axisLeft`, and `axisBottom` APIs within a reusable `scatterPlot` module. The SVG visualization loads CSV data from a GitHub gist and updates axes and circle positions via `setInterval`, with all rendering handled by D3 selections and joins.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed