Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Dataset Scatter Plot

Public visualization

Viewing a saved revision (read-only)

92637ccea0984c3ab74dae55e4e327c7

Fork of Iris Dataset Scatter Plot

0 stars0🌍 Public
Kkalyanikotha
Last edited Mar 6, 2022
Created on Mar 6, 2022

This scatter plot visualizes the Iris Dataset, mapping sepal and petal measurements from the CSV to colored circular marks. It uses D3 v6’s `scaleLinear` for axes, `extent` for domains, and `axisLeft`/`axisBottom` for tick rendering. The code destructures D3 methods like `csv`, `select`, and `join` to load data and append SVG circles. Species are color-coded (maroon, green, purple) via a switch statement, with point size fixed at a 10-pixel radius. The visualization is rendered dynamically to fill the browser window, using an SVG container.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.