Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart(11480431)

Public visualization

Viewing a saved revision (read-only)

f20df002be764e46a8161450214eeef8

Fork of Pie Chart(11480431)

0 stars0🌍 Public
Vviswak12
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Pie Chart

A pie chart displays the premium subscription cost in USD for Netflix across ten countries, with a legend listing each country alongside its corresponding price. The data is loaded from a GitHub gist via `d3.csv` and sorted before rendering. The chart uses `d3.pie` and `d3.arc` to generate SVG paths, with `d3.scaleOrdinal` and `schemeCategory10` assigning colors to each segment. Labels and values are added as SVG text elements within a React-applied framework, all rendered using D3 v5.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.