🌍 Public
Viewing a saved revision (read-only)
53807638a61d435db9755dcc218784e7
Fork of Pie Chart
This visualization displays the basic cost of Netflix across ten countries, using data from a CSV file sourced from a GitHub gist, rendered as a pie chart with a legend listing each country and its cost in dollars. It uses d3’s selection, pie, arc, scaleOrdinal, and schemeCategory10 functions to construct the SVG chart, with mouseover events logging the cost to the console. The code also sorts the data before slicing the top ten entries, and styles the text and legend via CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.