Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Question1_1

Public visualization

Viewing a saved revision (read-only)

c69e6d7c9d224d398c9590f3c9d71a9c

Activity7_Question1_1

0 stars0🌍 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