CE7 Pie Chart
✓ Published0🌍 Public
A pie chart displays revenue distribution across ten beauty products, with Eyeshadows and Eyeliner as the top sellers. The visualization uses d3.pie and d3.arc to compute and render SVG path segments, while d3.scaleOrdinal assigns category colors. A legend lists each product with its revenue value, formatted via d3.format. Data loads asynchronously from a JSON file using d3.json, with revenue values converted to numbers before rendering.
AI-generated descriptionMIT Licensed