Skip to main content
100%

Fork of assignment -2(a)

✓ Published0🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from assignment -2(a)

This example shows the market share of top shoe brands with a pie chart and a color-coded legend. It loads CSV data from a GitHub Gist and uses D3 v5’s `pie` and `arc` generators to draw the SVG segments, with labels showing percentages. A `scaleOrdinal` maps brand names to a fixed color palette. The legend, rendered with `rect` and `text` elements, identifies each brand alongside its share.

AI-generated description
MIT Licensed

Similar vizzes