Skip to main content
100%

Fork of activity7 question1

✓ Published0🌍 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
MIT Licensed

Similar vizzes