Pie Chart
✓ Published95🌍 Public
This pie chart shows the basic cost of Netflix subscriptions across ten countries, with each slice labeled in a legend that includes the country name and cost in dollars. The visualization uses D3.js v5 within a React framework, employing the `pie`, `arc`, and `scaleOrdinal` functions to generate the SVG segments. Data is loaded from a CSV file hosted on GitHub, sorted by cost, and rendered with a categorical color scheme. Interactive mouseover events log the cost to the console, while legends and text elements are styled via CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed