🌍 Public
Viewing a saved revision (read-only)
c6dc594d8e1c4fadb22c5018f2ee811e
Fork of Fork of Pie Chart
This pie chart displays the basic cost of Netflix subscriptions across ten countries, sorted from highest to lowest. The visualization uses D3 v5 APIs including `pie`, `arc`, and `scaleOrdinal` with `schemeCategory10` to generate SVG paths. Each slice’s color corresponds to its cost value, with mouseover logging the data to the console. A legend on the right lists each country with a color swatch and formatted dollar amount, while the data comes from a CSV file loaded via `csv()`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.