Skip to main content
Public

Share visualization

Loading preview…

CSCE- 5320: ICE-7 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

CSCE- 5320: ICE-7 Reusable scatter plot

0
NNaveenParitala
Last edited Mar 29, 2022
Created on Mar 29, 2022

This animated scatter plot explores the Iris flower dataset by cyclically rotating which of four measurements (petal width, sepal width, petal length, sepal length) is mapped to the x-axis every two seconds, while the y-axis remains fixed. The visualization distinguishes the three iris species using hardcoded colors (blue, lawngreen, orange) via a switch statement. It uses D3.js APIs including `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, `extent`, and `join`, with a reusable `scatterPlot` module. Data is loaded from a GitHub Gist CSV, rendered as SVG circles with a custom font.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed