Skip to main content
100%

Fork of Pie Chart

✓ Published1🌍 Public
Ggoudrohit2000@gmail.com
Last edited Nov 1, 2024
Created on Nov 1, 2024
Forked from Pie Chart

This pie chart visualizes the basic cost of Netflix for ten countries, sorted in descending order from a CSV dataset. The visualization renders categorical data as colored arcs with a legend displaying each country and its corresponding dollar value. Using D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions, the code draws SVG paths to create the chart. Data is loaded via the `csv` function and fetched from a GitHub gist, while mouseover events log each segment’s cost.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes