Skip to main content
100%

Pie Chart

✓ Published95🌍 Public
Ssaishashank
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from HTML Starter

This pie chart shows the basic cost of Netflix subscriptions across ten countries, with each slice labeled in a legend that includes the country name and cost in dollars. The visualization uses D3.js v5 within a React framework, employing the `pie`, `arc`, and `scaleOrdinal` functions to generate the SVG segments. Data is loaded from a CSV file hosted on GitHub, sorted by cost, and rendered with a categorical color scheme. Interactive mouseover events log the cost to the console, while legends and text elements are styled via CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes