Skip to main content
Public

Share visualization

Loading preview…

ICE 7 Pie Chart- bhargava

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

ICE 7 Pie Chart- bhargava

0 stars1Public
Bbhargavarathod
Last edited Mar 29, 2022
Created on Mar 28, 2022
Forked from HTML Starter

This example visualizes the top 10 countries with the highest COVID-19 death cases as a pie chart, using data from a GitHub Gist. The chart displays each country’s death count as a colored slice with a label in thousands, alongside a legend showing the country names and corresponding values. Built with React and D3 v5, the code uses `d3.pie` and `d3.arc` to generate the chart, `d3.scaleOrdinal` for coloring, and `d3.format` for tick labels. The SVG rendering includes text overlays and an interactive legend, all styled with CSS.

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