Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
LLakshmipriya-kalapala
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from Pie Chart

This example shows the basic cost of Netflix subscriptions across ten countries, sorted descending and displayed as a pie chart with a color-coded legend and cost labels. Built with D3 v5 and React, it uses `d3.pie`, `d3.arc`, and `scaleOrdinal` with `schemeCategory10` to generate SVG paths. Data is loaded via `d3.csv` from a GitHub gist, and mouseover events log the selected value 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