Fork of [TEST] Pie Chart
✓ Published0🌍 Public
This example shows the religious composition of twelve countries as a pie chart, with each slice colored and labeled in a legend that displays the percentage of the total population. The chart is built using D3 v5, with `d3.pie()` generating the arc data and `d3.arc()` rendering the SVG paths. The data is loaded from a CSV file via `d3.json`, and values are converted from strings to numbers. The chart uses a custom color scale and positions the legend to the right of the pie.
AI-generated descriptionMIT Licensed