Skip to main content
Public

Share visualization

Loading preview…

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

ICE7

0
Ssowmyanagula@my.unt.edu
Last edited Mar 26, 2022
Created on Mar 26, 2022

This example visualizes the Iris dataset using a reusable scatter plot built with D3.js. It animates through different numeric attribute pairings on the x-axis every two seconds, while color-coded circles represent the three iris species—setosa, versicolor, and virginica—in yellow, purple, and green. The plot uses D3 scales, axes, and data joins to render SVG circles, with each mark’s size and position driven by sepal and petal measurements. The code includes a custom scatterPlot factory function to manage margins, scales, and axis updates.

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