Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

dc20c37f7a194cf1bdd087d00f69b10a

Fork of Pie Chart

0 stars0🌍 Public
SsreepavanKothapalli
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from Pie Chart

This visualization displays the basic cost of Netflix subscriptions across ten countries, using a pie chart with an accompanying legend that lists each country, its color-coded square, and its cost in dollars. The chart is rendered with D3 v5 in an SVG, using `d3.pie` and `d3.arc` to generate the segments, `d3.scaleOrdinal` with `schemeCategory10` for colors, and `d3.csv` to load data from a GitHub gist. The data is sorted in descending order before rendering.

AI-generated description

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

See also React Starter.