Skip to main content
100%

ICE - 7 Pie chart viz

✓ Published0🌍 Public
Ssuchitra2602
Last edited Jul 2, 2022
Created on Jul 2, 2022

This pie chart displays the percentage of the female population across six countries, using a CSV data source. The visualization renders with `d3.pie()` to compute arc segments and `d3.arc()` for path generation, with each slice colored via a categorical scale and labeled with its percentage value. A legend on the right maps each color to its corresponding country and percentage, while the total dataset is loaded asynchronously using `d3.csv()` from a GitHub gist. The chart uses an SVG canvas with fixed dimensions and custom styling for the text and legend.

AI-generated description
MIT Licensed

Similar vizzes