🌍 Public
Viewing a saved revision (read-only)
fc6a9b93f8244289b4c3f438959b83c5
Fork of Pie Chart
This pie chart visualizes the basic subscription cost of Netflix across ten countries, with each slice’s size and color mapped to the numeric cost value and a legend listing country names and their corresponding prices in dollars. The chart renders as an SVG using D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions, with data loaded from a CSV via `d3.csv` and sorted descending before rendering. Interactive mouseover events log the basic cost to the console, while custom text elements style the legend and title.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.