Skip to main content
100%

Fork of Ice 7 Pie Chart

✓ Published0🌍 Public
Mmanishcheruku
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Ice 7 Pie Chart

A pie chart displays the basic monthly cost of Netflix in ten countries, with slices sorted by price. D3 v5’s `pie` and `arc` generators build the chart, while a `scaleOrdinal` with `schemeCategory10` assigns colors. The code appends legend rectangles and text elements manually using SVG. Country names and costs are labeled in dollars, and hover events log slice values to the console.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes