Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of D3 Scatter Plot

Public visualization

Fork of Fork of D3 Scatter Plot

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed