Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatterplot with Axis Labels

Public visualization

Reusable D3 Scatterplot with Axis Labels

0 stars0🌍 Public
Aajoua
Last edited Feb 28, 2023
Created on Feb 28, 2023

This interactive scatterplot visualizes the Iris dataset, showing petal width against sepal length using D3 v7. The chart renders as an SVG and uses d3.scaleLinear for axes, d3.scaleOrdinal with d3.symbol to differentiate species by shape, and d3.axisLeft/axisBottom for labeled axes. Data is loaded asynchronously via d3.csv, with a reusable scatterPlot function that accepts configurable accessors and margin settings.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed