Skip to main content
100%

activity6_tutorial3.2

✓ Published0🌍 Public
Nnishwitha.1032@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This example visualizes the Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with points colored by shape according to species. A custom legend shows the shape-to-species mapping. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate the point glyphs, while `axisLeft` and `axisBottom` render the axes. Data is loaded asynchronously via `fetch` from a GitHub-hosted CSV file and parsed with `csvParse`.

AI-generated description
MIT Licensed

Similar vizzes