Harshita Pie_Chart_Question1
✓ Published0🌍 Public
This visualization displays the basic subscription cost of Netflix in ten countries, sorted from highest to lowest, using a pie chart with a legend showing each country’s corresponding value in dollars. The code uses d3.pie, d3.arc, and d3.scaleOrdinal with d3.schemeCategory10 to generate the SVG paths, while d3.csv loads the data from a GitHub-hosted CSV file. Interactive mouseover events log the basic cost to the console, and axis labels for “Country” and “Basic Cost ($)” are drawn with d3.axisBottom and d3.axisLeft.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed