Charts
When a single number isn't enough.
YMF's case is statistical. When that case exceeds what a single figure can carry — a multi-year trend, a phase-by-phase breakdown, a funding trajectory — the system needs charts that feel native rather than imported. The same token logic that governs colour and typography governs the chart palette: Terracotta for the emphasis series, Fog for supporting series, Slate structure throughout.
These specimens use real data from the YMF Project financial model, rendered with Recharts.
Chart palette
Five colours. One emphasis rule.
The chart palette extends the brand system without adding arbitrary chromatic variety. Terracotta is always the emphasis series — the figure that carries the argument. The remaining four work as supporting data. When complex data genuinely surfaces five dimensions, all five colours can be used. The rule is hierarchy, not count — Terracotta always marks the argument, never joins the background.
- Use Terracotta for the series that carries the chart's argument — always.
- Use Fog for supporting or neutral data series.
- Differentiate series by weight or dash pattern as well as colour.
- Use all five colours when the data genuinely has five dimensions. The palette exists for exactly that.
- Use five colours when two or three would carry the same information.
- Give each series equal visual weight — there is always an argument, and Terracotta marks it.
- Distinguish series by colour alone — reinforce with labels, weight, or position.
- Introduce colours outside this palette for chart fills.
- Fog fills read lighter on Slate — invert the Fog ramp (Fog-10 at base, Fog-70 for depth).
- Keep Terracotta as the emphasis colour on both grounds.
- Axis labels use Paper-65. Gridlines use Paper at 8% opacity.
Bar chart
Year-by-year. One axis.
The bar chart is the most common chart type in YMF's data environment. Use it for annual snapshots and single-axis distributions. The emphasis bar — always Terracotta — marks the period where the argument lands: the threshold crossed, the most recent year, or the figure that needs to be held. All other bars in Fog.
Line chart
Trends. The shape of change.
Line charts carry trends: things that change over time. Use a single series for a single trajectory; a second series only when the relationship between two trends is the chart's point. Dual series are differentiated by stroke weight as well as colour — never colour alone.
Stacked bar
Proportional breakdowns.
Stacked bars work for proportional breakdowns across a shared total. Use the Fog ramp for supporting segments; Terracotta for the segment that carries the argument. Always label segments. The number of stacks should match the data — use as many as the breakdown genuinely requires, with Terracotta on the segment that matters most.
Source & footnote treatment
Always cite below.
Every chart carries a source line. This is not optional. It is the same discipline as the stat-display source kicker, applied to chart contexts.
- JetBrains Mono 10.5px · uppercase · tracking-[0.14em]
- Fog-70 on Paper. Paper-45 on Slate.
- Sits below the chart, left-aligned, outside the chart area.
- Never inside the chart. Never on the chart itself.
Source² · McCrindle Church Attendance Study 2021
- Numbered footnotes when a chart draws from more than one source.
- Same type treatment as single-source line.
- Footnotes always below the chart. Never in the chart body.
Accessibility
Colour is not the only signal.
All chart text meets WCAG AA (4.5:1) at 10.5px. Chart fills — large elements — meet the 3:1 threshold for non-text UI components at the sizes used in these specimens. No chart relies on colour as its sole distinguishing feature.
Dual-series line charts distinguish series by stroke weight (2px vs 1.5px) and dash pattern as well as colour. A reader who cannot distinguish Terracotta from Fog can still read the chart from weight and dash alone.
Stacked bars are always accompanied by a legend. Bar charts use axis labels and tooltips. No chart communicates the argument by colour alone. All chart elements have accessible aria-labels via the aria-label attribute on the enclosing figure element.
Token map
How the chart palette connects.
| Token | Value | Use |
|---|---|---|
| --chart-terracotta | #A75A39 | Emphasis series — always the argument |
| --chart-ochre | #B8852C | Secondary accent series |
| --chart-steel | #3F5264 | Structural data series |
| --chart-reed | #4D6652 | Third data series |
| --chart-fog | #7C7B71 | Supporting / neutral series; mirrors --fog-50 |
| --chart-grid | #EEEDE7 (fog-10) | Horizontal gridlines on Paper |
| --chart-grid-inv | rgba(252,250,244,.08) | Horizontal gridlines on Slate |
| --chart-axis | #575650 (fog-70) | Axis labels and ticks on Paper |
| --chart-axis-inv | rgba(252,250,244,.65) | Axis labels and ticks on Slate |