Skip to main content
100%

Harshita Pie_Chart_Question1

✓ Published0🌍 Public
HHarshita Vairagade
Last edited Apr 28, 2024
Created on Apr 28, 2024

This pie chart visualizes the basic cost of Netflix subscriptions across ten countries, sourced from a GitHub-hosted CSV file. The chart uses D3 v5's `pie` and `arc` APIs to generate SVG path segments, with `scaleOrdinal` and `schemeCategory10` assigning colors. A legend, positioned to the right, lists each country with its corresponding color swatch and a dollar-formatted value, created using D3's `select`, `csv`, and `append` methods.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes