Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 scatterplot

Public visualization

D3 scatterplot

0 stars0🌍 Public
HHtet Yan Oo
Last edited Apr 30, 2024
Created on Apr 30, 2024
Forked from D3 scatterplot

This example visualizes the Iris flower dataset as a scatterplot, mapping petal length on the x-axis and sepal length on the y-axis. It uses D3 v7 with SVG rendering, loading the CSV data via `d3.csv` and parsing numeric fields. Linear scales (`d3.scaleLinear`) and extent-based domains position circles for each data point, while `d3.axisLeft` and `d3.axisBottom` generate the labeled axes. The chart fills the browser window, with margins and tick styling set via CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed