Skip to main content
100%

Reusable D3 Scatter Plot With Symbols Following Along

✓ Published0🌍 Public
PParker-D5
Last edited Oct 4, 2023
Created on Oct 4, 2023

This reusable D3 scatter plot displays the classic Iris dataset, mapping petal length against sepal length with points colored by species. The chart uses d3.scaleLinear for axes, d3.scaleOrdinal with the symbols array to assign distinct shapes to each species, and a d3.symbol generator to render SVG paths. Axis ticks are styled via d3.axisLeft and d3.axisBottom, while the full-width responsive layout fills the browser window.

AI-generated description
MIT Licensed

Similar vizzes