Skip to main content
100%

Fork of Fork of ICE7 Pie Chart

✓ Published0🌍 Public
RRevanthGrreddy
Last edited Jul 2, 2022
Created on Jul 2, 2022

This chart displays the ten best-selling beauty products by revenue as a simple pie chart, with each slice sized proportionally to sales value and colored by category. A legend to the right pairs each product name with its revenue, formatted using D3’s `format` function. Built with D3 v5, it loads data from a JSON file and renders slices via `arc` and `pie` generators within an SVG canvas, using `scaleOrdinal` with the `schemeCategory10` palette for coloring.

AI-generated description
MIT Licensed

Similar vizzes