Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 PIE CHART

Public visualization

Viewing a saved revision (read-only)

7d5b3a9aebb34f0d91f66d677abae91c

ICE-7 PIE CHART

0 stars2🌍 Public
SSaiSree0122
Last edited Jul 3, 2022
Created on Jul 2, 2022
Forked from HTML Starter

This example visualizes COVID death percentages across U.S. states using an interactive pie chart built with D3 v4 in a React framework. The chart displays seven state values as colored wedges, with a custom tooltip that appears on mouseover showing the state name and its corresponding percentage, while the SVG-rendered arcs respond to hover by adjusting opacity. The code implements hover and touch interactions using D3 event handlers, and includes a legend generated from the same data array.

AI-generated description

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

See also React Starter.