Skip to main content
Public

Share visualization

Loading preview…

Donut Chart

vizhub.com

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

Before sharing, review the publishing checklist.

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 & exportPNG, HTML, source ZIP

Donut Chart

0
Xxyzcorrupt@gmail.com
Last edited Jul 7, 2024
Created on Jun 30, 2024
Forked from HTML Starter

This donut chart displays six categorical segments arranged in a circular ring, with each slice sized proportionally to its value and distinguished by a unique color. The visualization uses static SVG paths with hardcoded coordinates to define the arc shapes, and a white circle overlay to create the donut hole effect. Rendered as a standalone React component, the chart is built with native SVG elements rather than a charting library, making it a lightweight, dependency-free example of hand-crafted data visualization.

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