Skip to main content
100%

Fork of Pie Chart

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

This pie chart visualizes the basic subscription cost of Netflix across ten countries, with each slice’s size and color mapped to the numeric cost value and a legend listing country names and their corresponding prices in dollars. The chart renders as an SVG using D3 v5’s `pie`, `arc`, and `scaleOrdinal` functions, with data loaded from a CSV via `d3.csv` and sorted descending before rendering. Interactive mouseover events log the basic cost to the console, while custom text elements style the legend and title.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes