Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

5debd831be41451299084c45070f1845

ICE-7 Pie Chart

0 stars0🌍 Public
Mmanojgne
Last edited Jul 2, 2022
Created on Jul 1, 2022
Forked from HTML Starter

This example displays a pie chart of COVID-19 active cases by country, rendering each segment with a distinct color and labeling its percentage share. The chart includes a legend that maps colors to country names and active case counts. Built with React and D3 v5, the visualization uses d3.pie, d3.arc, and d3.scaleOrdinal to generate SVG paths and text labels. Data is loaded asynchronously from a CSV file using d3.csv, with the chart centered in an 800x450 SVG canvas.

AI-generated description

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

See also React Starter.