Skip to main content
100%

Fork of Scatter Plot with Shape

✓ Published0🌍 Public
VVarshareddy2912
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with each point’s shape encoding the species. The chart uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` for shape encoding, and `d3.symbol()` to generate the mark paths. A shape legend is rendered using the `d3.selectAll().join()` pattern for ticks, while CSV data is fetched and parsed with `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes