Skip to main content
100%

D3 scatterplot

✓ Published1🌍 Public
NNafi
Last edited Jul 16, 2022
Created on Jul 16, 2022
Forked from HTML Starter

This visualization is a D3.js scatterplot of the classic Iris dataset, plotting petal length on the x-axis against sepal length on the y-axis. The code uses `d3.csv` to load the data, `d3.scaleLinear` to map data values to pixel coordinates, and renders circles via SVG. Axes are drawn using `d3.axisLeft` and `d3.axisBottom`. The chart fills the browser window, with margins applied to the plot area, and the dataset is sourced from a remote GitHub Gist.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes