🌍 Public
Viewing a saved revision (read-only)
9f9cb7d4923c4ea190a262b997e1511f
Activity7_Q1
This pie chart visualizes the percentage usage of programming languages among developers, with data fetched from a raw CSV file hosted on GitHub. The chart uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions to generate colored slices and percentage labels, while a custom legend built with SVG `rect` and `text` elements lists each language and its corresponding value. The visualization is rendered as SVG, with colors assigned from a predefined array and formatted with `d3.format`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.