Skip to main content
100%

Fork of Pie Chart

✓ Published2🌍 Public
NNeeharikaGali
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Pie Chart

This visualization displays the basic cost of Netflix subscriptions across ten countries using a pie chart, with a legend listing each country alongside its corresponding cost in dollars. The chart is rendered as SVG using D3 v5 within a React framework, employing D3's `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` functions to generate the arcs and colors. Data is loaded from a CSV file hosted on GitHub, sorted in descending order, and the top ten entries are displayed, with hovering over a section logging its cost 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