Skip to main content
100%

D3 Scatter

✓ Published1🌍 Public
GGautier DAVID
Last edited Dec 20, 2023
Created on Dec 19, 2023
Forked from HTML Starter

This scatter plot visualizes the iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. Each flower is rendered as a circle in an SVG canvas that fills the browser window. The code fetches data from a CSV file using `d3.csv`, parses it with a custom row function, and uses `d3.scaleLinear` with `d3.extent` to position points. It also draws axes with `d3.axisLeft` and `d3.axisBottom`, all built with d3.v7 in React.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes