Skip to main content
100%

Fork of Fork of D3 Scatter Plot

✓ Published2🌍 Public
UUzoemeka Okechukwu Innocent
Last edited Aug 9, 2023
Created on Aug 9, 2023

This example visualizes the Iris dataset as a scatter plot, mapping petal length on the x-axis and sepal length on the y-axis. Each data point is rendered as a circle on a full-screen SVG canvas using D3 v7. The code loads the CSV data from a GitHub Gist via `d3.csv`, then uses `d3.scaleLinear` with `d3.extent` to compute the scales. Axes are added with `d3.axisLeft` and `d3.axisBottom`, while the tick labels are enlarged to 24 pixels for readability.

AI-generated description

D3 Scatter Plot

Venilla Html Javascript D3 Scatter Plot

MIT Licensed

Similar vizzes