Skip to main content
Public

Share visualization

Loading preview…

Data Visualization- Scatter Plot with Iris DataSet

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

Data Visualization- Scatter Plot with Iris DataSet

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

This D3.js v6 scatter plot visualizes the Iris dataset, plotting petal length against petal width for individual flowers, with each point colored by species (setosa, versicolor, or virginica). The SVG rendering uses the `csv` loader to parse the data, `scaleLinear` for both axes, and `axisLeft` and `axisBottom` for tick marks. The code explicitly maps the `sepal_length` and `sepal_width` values to unused `rx` and `ry` attributes, though these do not affect the circle radii, which remain fixed. The chart is sized to the browser window.

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