Skip to main content
100%

Fork of Pie Chart

✓ Published1🌍 Public
TTejucmandava
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Pie Chart

This pie chart visualizes the premium monthly cost of Netflix subscriptions across different countries, displaying the top 10 most expensive plans. The chart uses D3 v5’s `pie` and `arc` generators to create SVG segments, with `scaleOrdinal` and `schemeCategory10` for color mapping. Each slice’s fill color corresponds to the cost value, and a legend lists country names with their respective prices in US dollars. Data is loaded asynchronously from a CSV file hosted on GitHub Gist via `d3.csv`, and the render function sorts the data by premium cost before slicing the top ten entries.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes