Skip to main content
Public

Share visualization

Loading preview…

Reusable _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

Reusable _scatter_Plot

0
Ffouzanuddin
Last edited Mar 28, 2022
Created on Mar 28, 2022

This reusable scatter plot visualizes the Iris dataset, showing species grouped by color with animated cycling of X and Y axis attributes every two seconds. Implemented using D3 v6, the code employs `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `csv` for data loading. The SVG renderer displays circles with dynamic positions, while a legend and axis labels update programmatically, demonstrating a modular `scatterPlot` function with configurable dimensions, margins, and value accessors.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed