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.