Skip to main content
Public

Share visualization

Loading preview…

Fork of Scatter Plot Simple

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 Scatter Plot Simple

0
AAsherpranayp
Last edited Mar 10, 2023
Created on Mar 10, 2023

This example visualizes the classic Iris Dataset as a scatter plot, showing petal length versus sepal length for 150 flowers across three species. The visualization uses D3 v7 to load the CSV data via `csvParse`, and the `scatterPlot` function constructs linear scales with `scaleLinear` and `extent` to map data values to screen positions. Each data point is rendered as a circle using D3’s data join pattern, though the plot omits axes, focusing purely on the spatial distribution of the points. The chart fills the entire browser window dynamically.

AI-generated description

A scatter plot of the Iris Dataset with no axes.

Comments

Sign in to join the discussion.

MIT Licensed