ACT7_TASK1
✓ Published0🌍 Public
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 descriptionMIT Licensed