Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

ef3ea10b01d54b848ab438954fd20494

Fork of Reusable D3 Scatter Plot

0 stars1🌍 Public
UUzoemeka Okechukwu Innocent
Last edited Aug 24, 2023
Created on Aug 24, 2023

This example displays the classic Iris dataset as a scatter plot, mapping petal length on the x-axis and sepal length on the y-axis. It uses a reusable D3 module pattern with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles and axes. The code loads data via `d3.csv` from a gist, parses numeric fields, and applies a configurable margin and radius through a closure-based API. The visualization fills the browser window and uses a full-screen SVG without additional interaction.

AI-generated description

D3 Scatter Plot

Venilla Html Javascript D3 Scatter Plot