Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Aabh9294
Last edited Sep 2, 2023
Created on Sep 2, 2023
Forked from Pie Chart

This pie chart visualizes the basic monthly cost of Netflix subscriptions in different countries, displaying the top 10 most expensive markets. The chart uses D3.js v5 with SVG rendering, where `d3.pie()` generates the arc data and `d3.arc()` draws the segments, colored with `d3.scaleOrdinal` and `schemeCategory10`. A legend on the right lists each country with its corresponding color swatch and cost in US dollars. Data is loaded as CSV from a GitHub gist and sorted descending before slicing, with hover interactions logging values to the console.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes