Skip to main content
100%

D3 Scatterplot Black and White Basic

✓ Published1🌍 Public
AAndre J Denais
Last edited May 4, 2021
Created on May 4, 2021
Forked from HTML Starter

This example visualizes the Iris dataset as a black-and-white scatterplot, mapping petal length to the x-axis and sepal length to the y-axis. The code uses D3 version 6 APIs including `csv` for data loading, `scaleLinear` and `extent` for scaling, and `select` for DOM manipulation. It renders points as SVG circles with a radius of 5 pixels, sized to fill the browser window. The plot’s minimal styling relies on default black circles against a white background.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes