🌍 Public
Viewing a saved revision (read-only)
3d433e1c11d941849bf6832a4fca9fe7
ACT7_TASK1
This pie chart visualization displays the basic cost of Netflix subscriptions across ten countries, with each slice representing a country’s monthly price in dollars. The chart uses D3 v5’s `pie()` and `arc()` functions to generate the sectors, while `scaleOrdinal` with `schemeCategory10` assigns colors to each slice. A legend lists the countries alongside their corresponding costs, formatted with a custom number formatter. Data is loaded from a CSV file via `d3.csv` and sorted in descending order before rendering the top ten entries.
AI-generated description