🌍 Public
Viewing a saved revision (read-only)
242693f841904965a1ff04d8a878033f
Reusable D3 Scatter Plot With Symbols Following Along
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