🌍 Public
Viewing a saved revision (read-only)
231434ae34244fa188541388cb180d78
ICE - 7 Pie Chart
RRohithReddy-thoughts
Last edited Mar 29, 2022
Created on Mar 29, 2022
A pie chart visualizes the top 10 countries by reported COVID-19 cases, with each slice colored and labeled via an adjacent legend. The chart uses D3 v5 to load CSV data, compute arc paths with `d3.arc()`, and render SVG elements. Colors are assigned through `d3.scaleOrdinal`, while numeric values are formatted with `d3.format`. The legend pairs colored rectangles with country names and abbreviated case counts, all positioned within an SVG canvas.
AI-generated description