Activity7_Question1_1
✓ Published0🌍 Public
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 descriptionMIT Licensed