Skip to main content
Public

Share visualization

Loading preview…

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

Fork of Reuseable D3 Scatter Plot

0
UUzoemeka Okechukwu Innocent
Last edited Aug 23, 2023
Created on Aug 23, 2023

This visualization shows a scatter plot of the Iris dataset, mapping petal length on the x-axis against sepal length on the y-axis using blue circles. The code loads the CSV data via `d3.csv`, parses numeric fields, and scales the data with `d3.scaleLinear` using `d3.extent` for domains. It renders SVG circles and adds axes using `d3.axisLeft` and `d3.axisBottom`, with the plot sized to fill the browser window.

AI-generated description

D3 Scatter Plot

Venilla Html Javascript D3 Scatter Plot

Comments

Sign in to join the discussion.

MIT Licensed