🌍 Public
Viewing a saved revision (read-only)
3eb1d2b9a2e740298974616d37b0806d
Reusable D3 Scatter Plot with symbols
This example presents a reusable scatter plot of the Iris dataset, where each flower species is represented by a distinct D3 symbol shape. The code uses `d3.scaleLinear` to map petal length and sepal length to x and y positions, `d3.scaleOrdinal` with `d3.symbols` to assign symbol types by species, and `d3.axisLeft` and `d3.axisBottom` for axes. Data is loaded as CSV via `d3.csv`, and the plot is rendered as SVG within a customizable margin.
AI-generated descriptionD3 Scatter Plot
Venilla HTML Implementation of a D3 Scatter Plot. Shows the iris Dataset,