Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Q1

Public visualization

Viewing a saved revision (read-only)

9284dc03fedb46eeb4e4479c3685c15a

Activity7_Q1

0 stars0🌍 Public
Aaravapalliharika2002@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024

This pie chart visualizes programming language usage by developers, with each language’s percentage labeled directly on its sector. The chart uses `d3.pie` and `d3.arc` to generate the SVG paths, while `d3.scaleOrdinal` assigns categorical colors. A legend on the right lists each language with its corresponding color and percentage value. Data is loaded as CSV from a GitHub gist, and percentages are formatted using `d3.format`. The SVG is fixed at 960×500 pixels, with the pie centered at (250, 250).

AI-generated description