Fork of Fork of Pie Chart
✓ Published0🌍 Public
This pie chart visualizes the basic cost of Netflix subscriptions across ten countries, using a dataset loaded from a CSV file. The chart renders as an SVG with color-coded segments and a legend listing each country alongside its corresponding price. Built with React and D3 v5, it uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the slices and colors, while mouseover events log data to the console. The legend displays country names and values formatted with a custom number format.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed