Skip to main content
Public

Share visualization

Loading preview…

ICE-6 | Scatter Plot Graph

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

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

ICE-6 | Scatter Plot Graph

0 stars0Public
Mmanojgne
Last edited Jun 25, 2022
Created on Jun 25, 2022

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with points colored by species (versicolor in green, setosa in orange, and virginica in red). The chart uses D3 v6 to load CSV data, apply linear scales for the axes, and render SVG circles with the `selectAll().data().join()` pattern. Axes are generated using `axisLeft` and `axisBottom`, with custom labels, while the code also parses additional features like sepal dimensions for each flower.

AI-generated description

A scatter plot using D3 displaying Iris Data Iris Data.

Comments

Sign in to join the discussion.

MIT Licensed