Skip to main content
100%

Dpka-resuablescatter

✓ Published0🌍 Public
DDeepikaGoud08
Last edited Mar 30, 2023
Created on Mar 30, 2023

A reusable scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis, petal length to the y-axis, and encoding species with distinct shapes. Built with D3 v7, it uses `scaleLinear`, `scaleOrdinal`, and `symbolsFill` to position markers and generate symbol paths. A shape legend, drawn via a custom module, labels the three species, while axis components are modularized for reuse. Data loads asynchronously from a CSV file using `fetch` and `csvParse`.

AI-generated description

A scatter plot of the Iris Dataset with a color legend.

See also:

MIT Licensed

Similar vizzes