Skip to main content
Public

Share visualization

Loading preview…

Fork of Reusable D3 Scatter Plot- ICE7

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

Fork of Reusable D3 Scatter Plot- ICE7

0
Mmaximus2581
Last edited Jul 27, 2022
Created on Jul 27, 2022

This animated scatter plot from D3 explores the Iris dataset, cycling through different feature combinations on the x-axis (petal width, sepal width, petal length, and sepal length) while the y-axis remains sepal length. Data points are colored by species (setosa, versicolor, virginica) and rendered as SVG circles with adjustable radii. The visualization uses D3’s `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `select` APIs to load data, scale axes, and manage the SVG canvas. A `setInterval` timer triggers the x-axis changes, and a legend with colored dots identifies each species.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed