Fork of Pie Chart
✓ Published1🌍 Public
This pie chart visualizes the basic cost of Netflix for ten countries, sorted in descending order from a CSV dataset. The visualization renders categorical data as colored arcs with a legend displaying each country and its corresponding dollar value. Using D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions, the code draws SVG paths to create the chart. Data is loaded via the `csv` function and fetched from a GitHub gist, while mouseover events log each segment’s cost.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed