Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

ICE-7 PIE CHART

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed