Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Fork of Pie Chart

0 stars0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed