Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatterplot

Public visualization

Viewing a saved revision (read-only)

286039b67e524d5c83d380e4731cf03d

D3 Scatterplot

0 stars1🌍 Public
Vvschan2
Last edited Apr 14, 2024
Created on Apr 13, 2024
Forked from HTML Starter

This example visualizes the Iris dataset as an interactive scatterplot, mapping petal length to the x-axis, sepal length to the y-axis, and petal width to circle radius, with species indicated by color (blue, red, or black). It uses D3 v7’s `csv`, `scaleLinear`, `scaleSqrt`, `extent`, and `max` to load and scale the data, then renders SVG circles via a data join. Axis are drawn with `axisLeft` and `axisBottom`. The plot fills the browser window, and hovering reveals species and measurement details via tooltips.

AI-generated description

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

See also React Starter.