Skip to main content
100%

Fork of Fork of Pie Chart

✓ Published0🌍 Public
NNikitha123171
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Fork of Pie Chart

This pie chart visualizes the basic cost of Netflix subscriptions across ten countries, using a dataset loaded from a CSV file. The chart renders as an SVG with color-coded segments and a legend listing each country alongside its corresponding price. Built with React and D3 v5, it uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the slices and colors, while mouseover events log data to the console. The legend displays country names and values formatted with a custom number format.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes