Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

assignment -2(a)

Public visualization

Viewing a saved revision (read-only)

7cf9c3d50dbe482d929181e83634b028

assignment -2(a)

0 stars1🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This visualization shows the market share percentages of major shoe brands in a pie chart, with each slice labeled by its percentage and accompanied by a color-coded legend listing the brand names on the right. The chart is rendered using D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs, with data loaded from a CSV file via `d3.csv`. The SVG canvas positions the pie chart on the left and the legend on the right, using `arcGenerator.centroid` to place the percentage labels within each slice.

AI-generated description