Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes