visualization · native chart
TuxChartDonut
Native SVG donut for share-of-total. The empty center reads as a label slot — perfect for "X total" headlines. Slices below
minSlice% fold into an "Other" wedge so the chart stays legible past six categories. Walks --chart-1..8 across slices; slice labels are colored to match the wedge they point at. flagship · center stat
File type distribution
Pass centerLabel + centerValue for the headline-in-the-hole composition. Six slices auto-fold to "Other" past minSlice (default 3%).
Files indexed
12,010
<tux-chart-donut
:slices="[
{ key: 'csv', label: 'CSV', value: 4820 },
{ key: 'pdf', label: 'PDF', value: 3140 },
{ key: 'geojson', label: 'GeoJSON', value: 1880 },
]"
center-label="Files indexed"
:center-value="9840"
/>with legend · compact tile
Traffic by source
Turn on legend when outside slice labels would be cramped (dashboard tiles, small surfaces). Legend rows show absolute value + percent.
- Direct184 · 42.0%
- Search142 · 32.4%
- Referral88 · 20.1%
- Social24 · 5.5%
<tux-chart-donut :slices="trafficSources" legend />wrapped · editorial frame
Inside a TuxChartFrame
Exhibit 12.04
File type distribution
Corpus composition by extension; Q2 2026
Total
12,010
<tux-chart-frame
eyebrow="Exhibit 12.04"
title="File type distribution"
source="Source: TTI Landscape corpus, 2026-Q2"
>
<tux-chart-donut :slices="fileTypes" center-label="Total" :center-value="totalFiles" />
</tux-chart-frame>