Fork of Pie Chart
This example visualizes the basic monthly cost of Netflix subscriptions across ten countries using a pie chart with a legend. The chart is rendered with SVG elements and built in React, using D3 v5 functions such as `pie()`, `arc()`, `scaleOrdinal()`, and `schemeCategory10` for coloring. Data is loaded via `d3.csv` from a GitHub gist, sorted descending, and displayed with formatted dollar values in the legend. Each slice responds to mouseover by logging the cost to the console.