Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 scatter plot

Public visualization

Viewing a saved revision (read-only)

51c142d6ae0f47babc5ffa50d7399a04

D3 scatter plot

0 stars0🌍 Public
Yyankesswang
Last edited Oct 26, 2022
Created on Oct 26, 2022
Forked from SVG Fundamentals

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. Each flower is rendered as an SVG circle using D3 v7, with positions scaled linearly via `d3.scaleLinear` and extents computed from the data. The axes are drawn using `d3.axisLeft` and `d3.axisBottom`, and the visualization fills the browser window. Data is loaded asynchronously with `d3.csv` from a remote GitHub gist, and circles are joined to the SVG using `selection.join`.

AI-generated description

A demonstration of SVG shapes.