Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
BBabar Farooq
Last edited Sep 11, 2023
Created on Sep 11, 2023
Forked from Pie Chart

This visualization shows the basic cost of Netflix subscriptions across ten countries, sorted in descending order and encoded as a pie chart with a corresponding legend. D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs generate the SVG segments, while `csv` loads the data from a GitHub gist. An interactive mouseover logs each segment’s value to the console, and labels and legend values are appended as SVG texts with formatting from a custom number function.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes