Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot Using Iris Data

Public visualization

Fork of Scatter Plot Using Iris Data

0 stars0🌍 Public
SSohilaBheemReddy
Last edited Mar 28, 2022
Created on Mar 28, 2022

A scatter plot of the Iris dataset maps petal length and width for individual flowers, coloring each point green, purple, or red based on species. The visualization uses D3 v6 methods including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to set scales and axes, with circles rendered as SVG markers. Data loads from a remote CSV via `d3.csv`, and the plot fills the browser window by dynamically sizing the SVG to `window.innerWidth` and `window.innerHeight`. Axis labels clarify the mapped variables, while raw sepal dimensions are included in the data model but not plotted.

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