Fork of assignment -2(a)
✓ Published0🌍 Public
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 descriptionMIT Licensed