Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

c86200a6b3d6439fb0d8cc08ba1ce9c1

Fork of Fork of Pie Chart

0 stars1🌍 Public
Mmanishcheruku
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Fork of Pie Chart

This visualization displays the basic monthly cost of Netflix subscriptions across ten countries, with a color-coded pie chart and a corresponding legend that lists each country, its color swatch, and its cost in dollars. The chart is rendered as SVG, with the data sorted in descending order before the top ten entries are displayed. The code uses D3 v5 APIs including `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` to generate the chart, and loads data from a CSV hosted on GitHub.

AI-generated description

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

See also React Starter.