Pie Chart
✓ Published0🌍 Public
This pie chart displays the 15 largest countries by land area, with each slice colored using D3’s `scaleOrdinal` and `schemeCategory10`. The chart loads CSV data from a GitHub gist via `d3.csv`, sorts it by area, and renders slices with `d3.pie` and `d3.arc`. A legend on the right, built with SVG `rect` and `text` elements, lists each country’s name and area in square kilometers. The visualization uses React with D3 v5 and renders entirely through SVG.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed