🌍 Public
Viewing a saved revision (read-only)
c85643991ebc4c03972eb1b8532c6cc6
Fork of Fork of Fork of ICE - 7 Pie Chart Maanas Katta
A pie chart shows the average cost of living plus rent for various cities, with each slice colored and paired with a legend listing city names and values in thousands. The visualization loads CSV data from a GitHub gist via `d3.csv`, computes the pie layout using `d3.pie` and `d3.arc`, and encodes colors with `d3.scaleOrdinal`. It renders as SVG, styling text and legends through CSS, and formats tick values with `d3.format`.
AI-generated description