Skip to main content
100%

ACT7_TASK1

✓ Published0🌍 Public
RRevanth putta
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from Fork of Pie Chart

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
MIT Licensed

Similar vizzes