Skip to main content
100%

Nikhil_pie

✓ Published0🌍 Public
Kkottenikhil
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Pie Chart

This example visualizes the basic monthly cost of Netflix plans across ten countries using a pie chart rendered with SVG. The chart encodes cost values as slice angles and colors, with a legend listing each country’s name and cost in dollars. The code uses D3 v5 APIs including `pie()`, `arc()`, `scaleOrdinal()`, and `schemeCategory10` for coloring. Data is loaded from a CSV hosted on GitHub Gist, sorted descending, and the top ten entries are displayed.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes