Skip to main content
100%

Reusable D3 Scatter Plot

✓ Published0🌍 Public
Mmaxthamt
Last edited May 8, 2021
Created on May 8, 2021
Forked from D3 Scatter Plot

This reusable D3 scatter plot visualizes the classic Iris dataset, plotting petal length on the x-axis against sepal length on the y-axis for 150 flower samples. Built with vanilla HTML, CSS, and the D3 v6 library, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data points to an SVG canvas. Circles are rendered via `selectAll` and `join`, with the visualization filling the full browser window and updating to any screen size.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes