Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Harshita Pie_Chart_Question1

Public visualization

Viewing a saved revision (read-only)

07bb553a16bc41b7bb6beed744da42fa

Harshita Pie_Chart_Question1

0 stars1🌍 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, sorted in descending order. The chart uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` with `schemeCategory10` to generate SVG paths, while a custom legend displays country names and dollar amounts. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, and mouseover events log values to the console.

AI-generated description

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

See also React Starter.