Skip to main content
100%

Pie_Chart_Question1

✓ Published0🌍 Public
Nnaveen.dodda4321@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Pie Chart

This pie chart visualizes the basic cost of Netflix subscriptions across ten countries, sorted in descending order and displayed as a donut-style chart with a color-coded legend. The data is loaded from a GitHub-hosted CSV file using `d3.csv`. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate SVG paths and apply a categorical color scheme. Mouseover events log each slice’s cost to the console, while the legend lists country names and their corresponding dollar values.

AI-generated description
MIT Licensed

Similar vizzes