Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 3

Public visualization

Viewing a saved revision (read-only)

ce624888640e4de781648cdf206bf792

Activity 6 Task 3

0 stars0🌍 Public
Mmounikakatipally995@gmail.com
Last edited Apr 17, 2024
Created on Apr 17, 2024

This scatter plot visualizes the Iris dataset, mapping sepal length against petal length while distinguishing species through different symbol shapes. The visualization uses D3 v7 with a custom scatterPlot module, employing d3.scaleLinear for the axes, d3.scaleOrdinal with symbolsFill to assign shape variants, and d3.symbol to generate the marks. A custom legend component displays the shape-to-species mapping. Data loads asynchronously from a GitHub-hosted CSV file and is parsed with d3.csvParse, with numeric fields coerced to numbers before rendering.

AI-generated description