🌍 Public
Viewing a saved revision (read-only)
97ab8df4a5fa455c9c725b57ccb0e261
demo pie
This demo shows the basic cost of Netflix subscriptions across ten countries, displaying each country's price as a segment in a pie chart with corresponding color-coded legends. The data is loaded from a CSV file hosted on GitHub Gist and sorted in descending order. Using d3.pie and d3.arc, the chart renders as SVG with d3.scaleOrdinal and schemeCategory10 for colors, while d3.select appends legend rectangles and text for each country and its price in dollars.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.