Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of activity7 question1

Public visualization

Viewing a saved revision (read-only)

1c5935ae99de409f866771e89cb5d209

Fork of activity7 question1

0 stars0🌍 Public
Ssahithitoomu@gmail.com
Last edited Apr 4, 2025
Created on Apr 4, 2025
Forked from activity7

This pie chart displays the distribution of three flower species from a loaded CSV dataset. The visualization uses d3.pie and d3.arc to compute and render the slices, with d3.scaleOrdinal providing categorical colors. Species names appear as labels positioned at each slice's centroid using arc.centroid, and the entire chart is drawn as SVG elements within a 500x500 viewport. The chart loads data through d3.csv from a remote gist URL and converts count values to numbers for proportional slice sizing.

AI-generated description