Skip to main content
100%

Fork of Pie Chart

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

This fork of a pie chart visualizes the top 10 countries by population in 2021, using a legend to display each country's name and population in millions. The chart is built with React and D3 v5, employing `d3.pie`, `d3.arc`, `d3.scaleOrdinal`, and `d3.schemeCategory10` to generate the SVG sectors. The code loads population data from a CSV file hosted on GitHub, sorts it in descending order, and renders the pie chart and interactive legend with mouseover logging.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes