Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

35ef65c641e64af5852d5804461f2bb7

Fork of Pie Chart

0 stars0🌍 Public
Sshawn24gomez
Last edited Jun 18, 2023
Created on Jun 18, 2023
Forked from Pie Chart

This example visualizes the basic cost of Netflix subscriptions across ten countries using a pie chart, with a color-coded legend and dollar values displayed alongside each country name. The visualization is rendered as SVG using D3 v5 APIs, including `pie()`, `arc()`, `scaleOrdinal`, and `schemeCategory10`, while data is loaded from a CSV file via `csv()`. The chart uses a simple inner radius of zero and sorts countries by cost descending, with mouseover events logging values to the console.

AI-generated description

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

See also React Starter.