Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7-Question1-Lokesh

Public visualization

Viewing a saved revision (read-only)

fd9f43377e194b0c8873cf21b659ca8d

Activity7-Question1-Lokesh

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

This pie chart displays the proportional usage of different programming languages using arcs sized by percentage from a CSV file. The visualization loads external data via `d3.csv`, applies the `d3.pie` layout to compute angles, and renders slices with `d3.arc` using an SVG `path` element. Each slice’s color is assigned through a `d3.scaleOrdinal` with the `d3.schemeCategory10` palette, based on the index of the data points. The chart is drawn within a fixed 500x500 SVG container.

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.