Skip to main content
100%

D3 scatterplot

✓ Published0🌍 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
MIT Licensed

Similar vizzes