Skip to main content
100%

Activity7_Question1_1

✓ Published0🌍 Public
Nnavyabade05@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This example shows a pie chart of programming language usage share percentages, with each category colored via a categorical color scale and labeled with its language name and percentage value. The visualization loads data from a CSV file using `d3.csv`, processes it with `d3.pie` and `d3.arc`, and renders the chart and a legend to SVG. Labels are placed outward from the arc centroids using `arcGenerator.centroid`, and the chart uses `d3.schemeCategory10` for distinct colors. The legend lists each language with its corresponding color and usage share, while the pie slices are semi-transparent with white stroke edges.

AI-generated description
MIT Licensed

Similar vizzes