Skip to main content
Public

Share visualization

Loading preview…

Fork of Activity 7 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

Fork of Activity 7 Scatter Plot

0
Pperamranji
Last edited Mar 30, 2025
Created on Mar 30, 2025

A scatter plot visualizes the Iris dataset, showing petal length against petal width for each flower, with points colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The code, built with D3 v6, loads data via `d3.csv` from a GitHub gist, scales with `scaleLinear`, and renders SVG circles with `axisLeft` and `axisBottom`. It also stores sepal measurements in each point’s attributes but does not display them.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed