Skip to main content
Donut KPI
DarkDoughnutDashboard

Donut KPI

Dark doughnut chart showing category distribution — a dashboard staple.

Theme tokens

Background
#0f172a
Font
Inter / 12px
Mode
dark

API snippet

POST this to /api/v1/render to render this template programmatically.

POST /api/v1/render HTTP/1.1 Content-Type: application/json Authorization: Bearer YOUR_API_KEY { "type": "doughnut", "width": 560, "height": 400, "format": "png", "devicePixelRatio": 4, "theme": { "palette": [ "#818cf8", "#a78bfa", "#c084fc", "#e879f9", "#fb7185", "#f472b6" ], "backgroundColor": "#0f172a", "fontFamily": "Inter", "fontSize": 16, "gridColor": "rgba(148, 163, 184, 0.18)", "mode": "dark" }, "data": { "labels": [ "Organic", "Direct", "Referral", "Paid", "Social" ], "datasets": [ { "data": [ 38, 24, 18, 12, 8 ], "backgroundColor": [ "#818cf8", "#a78bfa", "#c084fc", "#e879f9", "#fb7185" ], "borderWidth": 0, "hoverOffset": 6 } ] }, "options": { "color": "#94a3b8", "plugins": { "legend": { "position": "right", "labels": { "color": "#94a3b8", "usePointStyle": true, "padding": 14 } }, "title": { "display": true, "text": "Traffic Sources", "color": "#e2e8f0", "font": { "size": 14, "weight": "bold" } } }, "cutout": "68%" } }

More Doughnut templates