Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

a1f5581295a045ad970daafb3b69707e

Activity6_Task4

0 stars1🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This example displays the Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with each species distinguished by a different symbol shape from `d3.symbol` and `symbolsFill`. The `d3.scaleLinear` and `d3.scaleOrdinal` functions handle the spatial and categorical mappings, while `d3.axisLeft` and `d3.axisBottom` generate the axes. The species data is loaded from a remote CSV file and parsed with `d3.csvParse`, with a custom legend built using `d3.symbol` to identify the shape categories.

AI-generated description