Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Pie Chart

Public visualization

Pie Chart

0 stars1๐ŸŒ Public
TTejaswicmandava
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Pie Chart

This pie chart visualizes the premium monthly cost of Netflix subscriptions across ten countries, with each slice colored by cost and accompanied by a legend listing country names and prices in US dollars. The visualization uses D3 v5 APIs including `pie()` for angle generation, `arc()` for path construction, `scaleOrdinal` with `schemeCategory10` for colors, and `csv()` to load data from a GitHub gist. The chart renders as SVG within a React application, displaying values sorted in descending order and updating interactively on mouseover.

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