Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity7, question1

Public visualization

Viewing a saved revision (read-only)

98e27f9fc2db4ba7ae0ad26a86b46ea5

activity7, question1

0 stars2🌍 Public
Ssahithitoomu@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This example shows a pie chart visualizing five categories (A–E) with their corresponding numeric values, alongside a color-coded legend and axis labels. It uses a static sample dataset defined in the code. The visualization is built with D3.js v6, using `d3.pie()` to compute arc angles and `d3.arc()` to generate SVG path data. A `d3.scaleOrdinal` with `d3.schemeCategory10` assigns colors, and the chart renders as SVG elements appended to the body.

AI-generated description