Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

acitivity7

Public visualization

Viewing a saved revision (read-only)

3544f2028b3a4e779bcb85d056adc773

acitivity7

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

This example displays the distribution of iris species as a pie chart, with each slice labeled and accompanied by a color-coded legend. It loads CSV data from a GitHub gist, parses numeric fields, and groups records by species using `d3.nest()` and `d3.rollup()`. The chart is rendered with SVG using `d3.pie()` and `d3.arc()`, while `d3.scaleOrdinal` with `schemeCategory10` assigns slice colors and legend swatches.

AI-generated description