Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2Question1

Public visualization

Viewing a saved revision (read-only)

46e2f74c053c45d7a24fc0df65eb5e78

Assignment2Question1

0 stars2🌍 Public
Gganesh.hns48@gmail.com
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from sample

A pie chart displays the sales distribution of electronic items in 2023, with each slice labeled by category and value. The chart uses D3 v7’s `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `d3.schemeCategory10` to generate and color the SVG arcs. Data is fetched as CSV from a GitHub repository, parsed with a custom function, and rendered with a corresponding HTML legend.

AI-generated description