ChoisSTANDARD UI컴포넌트 검색 /

Data

Donut Chart

semantic HTML

Compact part-to-whole visualization for a small number of categories.

stablefreeSince 0.1.5

Live example

Posts by status
Published64
Draft21
Review15
<div data-standard-component="donut-chart" label="Posts by status" data='{"labels":["Published","Draft","Review"],"values":[64,21,15]}'><table><caption>Posts by status</caption><tbody><tr><th>Published</th><td>64</td></tr><tr><th>Draft</th><td>21</td></tr><tr><th>Review</th><td>15</td></tr></tbody></table></div>

Variants and sizes

The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.

compactcomfortableroomy

Public API

ContractValue
Implementationsemantic HTML
Statusstable
Licensefree
Since0.1.5
HTML contractNative HTML elements and attributes
EventsNative browser events

Accessibility

ECharts SVG visualization with an accessible SSR data-table fallback.

Server template guidance

<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->