Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Q1

Public visualization

Viewing a saved revision (read-only)

9f9cb7d4923c4ea190a262b997e1511f

Activity7_Q1

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

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.