🌍 Public
Viewing a saved revision (read-only)
9102f7243f724754beb803c861d58e56
Pie_Chart_Question1
This pie chart visualizes the basic cost of Netflix subscriptions across ten countries, sorted in descending order and displayed as a donut-style chart with a color-coded legend. The data is loaded from a GitHub-hosted CSV file using `d3.csv`. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate SVG paths and apply a categorical color scheme. Mouseover events log each slice’s cost to the console, while the legend lists country names and their corresponding dollar values.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.