Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Dataset Scatter Plot

Public visualization

Fork of Iris Dataset Scatter Plot

0 stars1🌍 Public
Ppreethamkesa
Last edited Mar 5, 2022
Created on Mar 5, 2022

This example visualizes the Iris Dataset, plotting petal length against petal width, with each point colored by species. A scatter of circles maps these measurements, while additional sepal dimensions are stored as unused properties on each data point. The visualization loads CSV data via `d3.csv`, constructs scales with `d3.scaleLinear`, and renders circles and axes using SVG. The code uses D3 v6, with styling applied through `d3.axisLeft` and `d3.axisBottom`. The plot fills the browser window, and tick labels are enlarged for readability.

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