Skip to main content
Public

Share visualization

Loading preview…

pree

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

pree

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

Comments

Sign in to join the discussion.

MIT Licensed