Skip to main content
100%

Scatter Plot with Shape

✓ Published0🌍 Public
Rrikhitakoganti12
Last edited Jul 2, 2023
Created on Jul 2, 2023
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, plotting sepal length against petal length for individual flowers. Each point’s shape encodes the flower species using D3’s `symbolsFill` and `symbol()`, with a legend generated via a custom `shapeLegend` component. The chart uses D3 v7’s `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` APIs, pulling data from a remote CSV file. A custom `symbolGenerator` renders distinct geometric markers (circles, squares, etc.) for each species, while axes and labels are assembled through the reusable `axes` module.

AI-generated description
MIT Licensed

Similar vizzes