🌍 Public
Viewing a saved revision (read-only)
908bdc5ed71f43f7a8ab552a5bd94904
Fork of Pie Chart
This example shows the basic cost of Netflix subscriptions across ten countries, sorted descending and displayed as a pie chart with a color-coded legend and cost labels. Built with D3 v5 and React, it uses `d3.pie`, `d3.arc`, and `scaleOrdinal` with `schemeCategory10` to generate SVG paths. Data is loaded via `d3.csv` from a GitHub gist, and mouseover events log the selected value to the console.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.