Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACT7_TASK1

Public visualization

Viewing a saved revision (read-only)

3d433e1c11d941849bf6832a4fca9fe7

ACT7_TASK1

0 stars0🌍 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