Skip to main content
Public

Share visualization

Loading preview…

IRIS Dataset 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

IRIS Dataset Scatter plot

0
SSumanya4
Last edited Mar 7, 2022
Created on Mar 7, 2022

This example visualizes the classic Iris Dataset, plotting sepal length against petal length for individual flowers. Each circle represents a sample from one of three species, though the color mapping for species is not applied in the rendering. The visualization uses D3 v5 to load CSV data, create linear scales with `d3.scaleLinear` and `d3.extent`, and render the scatter plot as SVG circles with axes generated by `d3.axisLeft` and `d3.axisBottom`. The chart fills the browser window and includes custom axis labels.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed