Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter plot

Public visualization

Viewing a saved revision (read-only)

a2bcf72947654d0385054efa538bce9e

D3 Scatter plot

0 stars1🌍 Public
GGbemiga Atolagbe
Last edited Jan 8, 2025
Created on Nov 13, 2024
Forked from HTML Starter

This example visualizes the Iris dataset as a scatter plot, mapping petal length to the x-axis and sepal length to the y-axis. Each flower is rendered as a small circle using SVG. The code fetches the CSV data via D3’s `csv` function, parses numeric fields, and creates linear scales with `scaleLinear` and `extent` to set the domains. Axes are drawn with `axisLeft` and `axisBottom`, and all rendering is handled through D3 selections within a React-free HTML page.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.