Skip to main content
Public

Share visualization

Loading preview…

Scatterplot with Iris Data

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

Scatterplot with Iris Data

1
AArefa Patwary
Last edited Feb 28, 2022
Created on Feb 28, 2022

This scatterplot visualizes the classic Iris dataset, plotting sepal length against sepal width for individual flower samples. Built with React and D3 v7, the visualization renders as an SVG, using `d3.csv` to load data from a GitHub-hosted CSV file. The code employs D3's `scaleLinear` for axis scaling, with custom `AxisBottom` and `AxisLeft` components generating tick marks and labels. Each data point appears as a filled circle with a tooltip showing its sepal length value, while the axes are labeled "Sepal Length" and "Sepal Width." The visualization demonstrates a clean, functional scatterplot with interactive hover details.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed