🌍 Public
Viewing a saved revision (read-only)
0b6f5c507c614e13b6408eb42714903f
Fork of Reusable scatter plot with different symbols
Ssnehareddygurram
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from Reusable scatter plot with different symbols
This scatter plot visualizes the Iris Dataset, mapping petal width and sepal length for individual flowers while encoding species with different D3 symbols. The reusable `scatterPlot` function uses `d3.scaleLinear` for both axes, `d3.scaleOrdinal` to assign symbols from the `d3.symbols` collection, and `d3.symbol().size()` to generate paths. Data is loaded via `d3.csv`, and the plot renders in SVG with axes created by `d3.axisLeft` and `d3.axisBottom`.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.