Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9_Question1

Public visualization

Viewing a saved revision (read-only)

9b82038cfc5b45e7b30b2e0e8ea9e513

Task9_Question1

0 stars0🌍 Public
Ssaitejauppu0206@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from HTML Starter

This visualization displays a pie chart of worldwide COVID-19 cases for 2020, highlighting the top 15 countries by reported case counts. The chart uses a legend with colored rectangles and text labels to identify each country alongside its corresponding number of cases. Built with React and D3 v5, the code employs `d3.csv`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with a `schemeCategory10` color palette to render the SVG-based chart. Data is loaded from a gist-hosted CSV file, sorted descending by case numbers, and sliced to show only the leading countries.

AI-generated description

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

See also React Starter.