Fork of Pie_Chart_Question1
✓ Published0🌍 Public
This example visualizes the basic cost of Netflix subscriptions across ten countries using a pie chart, with a legend displaying each country’s name and cost in dollars. The chart is rendered as an SVG using React and D3 v5, leveraging `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with a `schemeCategory10` color palette. Data is loaded from a CSV file hosted on GitHub, sorted descending, and sliced to the top ten entries. Mouseover events log the corresponding cost to the console.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed