🌍 Public
Viewing a saved revision (read-only)
6a16cb5e680441aea7c2a6ce8b30fe6b
Fork of Pie Chart
This visualization shows the basic cost of Netflix subscriptions across ten countries, sorted in descending order and encoded as a pie chart with a corresponding legend. D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs generate the SVG segments, while `csv` loads the data from a GitHub gist. An interactive mouseover logs each segment’s value to the console, and labels and legend values are appended as SVG texts with formatting from a custom number function.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.