Skip to main content
100%

Fork of Pie_Chart_Question1

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

This fork renders a pie chart comparing the basic subscription cost of Netflix across ten countries, sorted in descending order. The visualization uses D3.js v5 APIs including `pie()`, `arc()`, and `scaleOrdinal` with `schemeCategory10` for color mapping. A legend displays each country's name and cost in dollars, formatted with a custom number formatter. Data is loaded asynchronously via `csv()` from a GitHub-hosted CSV file, and the chart is drawn as SVG within a React project, with mouseover events 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