Skip to main content
100%

Activity 6 Task 3.2

✓ Published1🌍 Public
Aanisha.peddireddy@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025

This interactive scatter plot visualizes the Iris dataset, plotting sepal length against petal length for individual flowers, with the species of each flower encoded by the shape of the point marker. The visualization uses D3 v7 to create a custom scatter plot, leveraging `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and the `symbol` API to generate distinct shapes for each species. A custom legend, built with `join` operations, displays the shape-to-species mapping. The data is loaded asynchronously from a CSV file using `csvParse` and fetched from a GitHub repository, with the plot updating once the data is ready.

AI-generated description
MIT Licensed

Similar vizzes