Skip to main content
100%

ICE - 7 Pie Chart

✓ Published0🌍 Public
PPrasanth Damarla
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from HTML Starter

This example visualizes the cost of various products as a pie chart, with each slice labeled and accompanied by a legend. Built with D3 v5, it loads cost data from a CSV file hosted on GitHub. The chart’s slices are generated using `d3.pie` and `d3.arc`, with each slice's percentage label positioned via the arc's centroid. A separate legend group displays a color swatch, product name, and cost value for each item.

AI-generated description
MIT Licensed

Similar vizzes