Skip to main content
100%

Reusable D3 Scatterplot with Axis Labels

✓ Published0🌍 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
MIT Licensed

Similar vizzes