Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris Scatter

Public visualization

Iris Scatter

0 stars0🌍 Public
Rreddyakshitha
Last edited Mar 7, 2022
Created on Mar 5, 2022

This visualization displays the classic Iris dataset as a scatter plot, mapping petal length on the x-axis against sepal length on the y-axis, with all points rendered as uniform blue circles. The code uses D3 v6’s `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions to construct the coordinate system and axes. Data is loaded asynchronously via `d3.csv` from a GitHub Gist, and the SVG output is created by appending a single `<svg>` element and iterating over parsed rows to draw the marks.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed