Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

277ba0113b3e4638ab81f3f31917d3da

Fork of Pie Chart

0 stars0🌍 Public
Ppemmasaniprudhvinadh
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Pie Chart

This visualization shows the basic cost of Netflix subscriptions in ten countries, displayed as a pie chart with a legend listing each country and its corresponding price. The chart uses D3 v5 APIs including `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` to generate the segments and colors. Data is loaded from a CSV file via `csv()` and rendered as SVG. The legend is built with appended rectangles and text elements, formatting prices with a custom number formatter.

AI-generated description

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

See also React Starter.