Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6(Task3(1))

Public visualization

Viewing a saved revision (read-only)

dded0115d7334281b360d01911cc0d74

Activity-6(Task3(1))

0 stars0🌍 Public
Vvandanakosuri@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6

This scatter plot visualizes the Iris dataset, displaying sepal length on the x-axis and petal length on the y-axis, with each point’s shape representing the species of iris. The implementation uses D3 v7’s `scaleLinear`, `scaleOrdinal`, and `symbolsFill` to map data values to positions and shapes, while `axisLeft` and `axisBottom` render the axes. A custom legend, built with `symbol().type()`, identifies each species by its corresponding shape. Data is loaded asynchronously from a CSV file and parsed using `csvParse`.

AI-generated description