Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

83e91a1cef6f4682bf91c705695c9d99

Fork of D3 Scatter Plot

0 stars0🌍 Public
TteerthSatwara
Last edited Feb 13, 2025
Created on Feb 13, 2025
Forked from D3 Scatter Plot

This example presents a scatter plot of the classic Iris dataset, mapping petal length against sepal length for individual flowers. The visualization uses circles of a fixed radius to represent data points, with axes positioned along the bottom and left edges of the SVG canvas. Using d3.csv, the code loads data from a remote gist, parses numeric columns, and applies d3.scaleLinear with d3.extent to compute the domain for each axis. The visualization is rendered using the d3.select and join operations to create SVG circle elements, with d3.axisLeft and d3.axisBottom generating the chart's coordinate frames.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.