Skip to main content
Public

Share visualization

Loading preview…

D3 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

D3 scatter plot

0
Yyankesswang
Last edited Oct 26, 2022
Created on Oct 26, 2022
Forked from SVG Fundamentals

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. Each flower is rendered as an SVG circle using D3 v7, with positions scaled linearly via `d3.scaleLinear` and extents computed from the data. The axes are drawn using `d3.axisLeft` and `d3.axisBottom`, and the visualization fills the browser window. Data is loaded asynchronously with `d3.csv` from a remote GitHub gist, and circles are joined to the SVG using `selection.join`.

AI-generated description

A demonstration of SVG shapes.

Comments

Sign in to join the discussion.

MIT Licensed