Skip to main content
100%

activity 7.1

✓ Published0🌍 Public
Jjureddyakshaya0601@gmail.com
Last edited Apr 13, 2025
Created on Apr 13, 2025
Forked from Hello VizHub

A D3.js pie chart displays the proportional values of twenty product categories, with each slice labeled directly on the chart. A legend on the right side maps category names to their corresponding colors. The visualization uses `d3.pie()` to compute arc data, `d3.arc()` to generate path and label geometry, and `d3.scaleOrdinal(d3.schemeCategory10)` for categorical coloring. The SVG is rendered at 800x600 pixels, with the pie centered on the left half of the canvas.

AI-generated description
MIT Licensed

Similar vizzes