{% comment %}
One chart, drawn on the server as inline SVG.
Geometry arrives from {% chart_svg %}; nothing here computes anything. The colours
are `currentColor` and `var(--primary)` only, so the chart follows the theme and a
BRAND_COLOR change without a second stylesheet, and `viewBox` plus a width of 100%
makes it responsive without a resize listener.
`role="img"` plus an aria-label is what a screen reader gets *instead of* the
graphic, so the label states the shape and the extremes rather than the pixels.
{% endcomment %}
{% if kind == "donut" and donut.segments %}
{% elif kind == "bar" and bars %}
{% elif line %}
{% endif %}