Reusable D3 Scatter Plot With Symbols Following Along
✓ Published0🌍 Public
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 descriptionMIT Licensed