Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Mmaxthamt
Last edited May 8, 2021
Created on May 8, 2021

This example visualizes the Iris dataset as a scatter plot, mapping petal length on the x-axis and sepal length on the y-axis with circles of fixed radius. It uses D3 v6 APIs including `csv` for data loading, `scaleLinear` for axes, `axisLeft` and `axisBottom` for tick marks, and a custom reusable `scatterPlot` module. The SVG renders full-window, with data parsed from a remote Gist, and styling sets large tick text while hiding page overflow.

AI-generated description

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

MIT Licensed

Similar vizzes