Pie Chart
✓ Published3🌍 Public
This pie chart displays the population distribution of five countries—China, India, United States, Indonesia, and Brazil—loaded from a local CSV file. Each slice is labeled with the country name, and hovering or clicking a slice triggers a tooltip showing the exact population and country values. The visualization uses D3 v5’s `d3.pie()` and `d3.arc()` to generate the arcs, with colors assigned via `d3.scaleOrdinal` and `d3.schemeCategory10`. The SVG rendering positions the chart at the center of a 960×500 canvas.
AI-generated descriptionThis is a sample d3 Pie chart. This will be later exported to angular.
MIT Licensed