Skip to main content
100%

D3 Scatter plot dec14

✓ Published1🌍 Public
WWasanta Pruttisarikorn
Last edited Dec 16, 2022
Created on Dec 14, 2022
Forked from HTML Starter

This D3.js scatter plot visualizes the classic Iris dataset, plotting petal length against sepal length for individual flower samples. The visualization uses SVG circles rendered on a canvas that fills the browser window, with axes labeled using `d3.axisLeft` and `d3.axisBottom`. Data is loaded asynchronously from a GitHub-hosted CSV file using `d3.csv`, with numerical fields parsed and scaled to pixel coordinates via `d3.scaleLinear` and `d3.extent`. The plot adjusts dynamically to the viewport dimensions, providing a clean, minimal exploration of the dataset's distribution.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes