Fork of Pie Chart
✓ Published2🌍 Public
This visualization displays the basic cost of Netflix subscriptions across ten countries using a pie chart, with a legend listing each country alongside its corresponding cost in dollars. The chart is rendered as SVG using D3 v5 within a React framework, employing D3's `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` functions to generate the arcs and colors. Data is loaded from a CSV file hosted on GitHub, sorted in descending order, and the top ten entries are displayed, with hovering over a section logging its cost to the console.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed