Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task3.2

Public visualization

Viewing a saved revision (read-only)

3c82e4d8b7fc47929dc11a3bfb4377bb

Activity8_Task3.2

0 stars0🌍 Public
Vvishnupriyapalagiri@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example visualizes the Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis. The code uses a d3 scaleOrdinal and symbol generator to assign different shapes to each iris species, with a legend positioned on the right side. Data is loaded asynchronously via fetch from a GitHub-hosted CSV, parsed with d3.csvParse, and rendered using a SVG canvas. Axes are built using axisLeft and axisBottom.

AI-generated description