visualization · native chart
TuxChartDonut
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. Interactive Telemetry Lab
Donut & Share-of-Total Workbench
Files indexed
12,010
datasetsizethicknesspalettepatternssliceLabelslegend<tux-chart-donut
:slices="fileTypes"
center-label="Files indexed"
:center-value="12010"
:size="300"
/>accessible · cvd texture hatching
Universal CVD & Monochrome Pattern Hatching
Pass palette="cvd" and patterns to overlay high-contrast dual-line SVG texture hatchings across slices. The bottom breakdown table swatches reflect the respective pattern and color, eliminating reliance on hue alone to identify wedge categories.
- Direct184 · 42.0%
- Search142 · 32.4%
- Referral88 · 20.1%
- Social24 · 5.5%
<!-- Okabe-Ito CVD palette with high-contrast dual-line SVG texture hatching -->
<tux-chart-donut
:slices="trafficSources"
palette="cvd"
patterns
legend
/>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
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 Corridor corpus, 2026-Q2"
>
<tux-chart-donut :slices="fileTypes" center-label="Total" :center-value="totalFiles" />
</tux-chart-frame>