Fork of Pie Chart
✓ Published0🌍 Public
This example visualizes the basic cost of Netflix subscriptions across ten countries using a pie chart, sorted in descending order and rendered as SVG. The chart displays each country’s cost as a colored slice, with a legend listing country names and their corresponding dollar amounts. Built with React and D3 v5, it uses `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.csv` to load data from a GitHub gist. Mouseover events log slice values to the console, while legends are manually appended to the SVG.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed