Theme Frequency
How often an inspection theme recurs across the trust's schools, as a bar per theme with its count and a one-line commercial interpretation.
Live example
Athena Learning Trust's recurring Ofsted priorities, from TRUSTSCommon areas of concern
Themes recurring in the 'priorities' of the schools' most recent inspection reports, with a commercial interpretation.- Curriculum implementation / consistency8 of 9
Strongest recurring theme. Potential need around curriculum resources, implementation, subject leadership and CPD.
- Assessment / checking learning5 of 9
Opportunity around assessment, diagnostics, intervention and identifying learning gaps.
- Embedding improvements3 of 9
Schools are implementing change but need support making it consistent and sustainable.
- Pupil outcomes / depth of learning3 of 9
Potential requirement for intervention, attainment and curriculum-support solutions.
- Consistency of teaching2 of 9
Potential relevance for teacher CPD, instructional practice and teaching resources.
EdCo data mapping — proposed
Proposed reading of the Metrics shape for a trust-level list of themes. Nothing in EdCo's data describes this widget yet.
| Visual | Shape column | Contract field | Row | Notes |
|---|---|---|---|---|
| Family label and icon | DataFamily / DefaultIcon | — | any | Inspection. |
| Title | RecordCategory or DataCategory | name | any | "Common areas of concern" vs "Common strengths" — two frames, or one frame with a sub-category. |
| Theme label | ValueSubCategory | themes[].theme | one per theme | |
| Count ("8 of 9") and bar | AbsoluteValue | themes[].schools | one per theme | |
| Denominator | ValueContext | total | any | Or derived from the trust's school count. |
| Interpretation sentence | Message / ContextMessage | themes[].note | one per theme | The 15-column shape's Message column fits; the 21-column one has ContextMessage. Needs ~150 characters. |
Widget elements and their frames
What tblWidgetElements would hold for this widget, and the kind of frame each element takes.
| Element | Shape | Frame it takes | Notes |
|---|---|---|---|
| Themes | Metrics (or Narrative) | A list frame at trust level: one row per recurring theme, with a count and an interpretation sentence. | It's a list of several rows by design, so a 'list' frame fits here — unlike Metric Insight. If the sentence is treated as insight rather than a label, the Narrative shape may be the better home. |
Dependencies
Component: app/components/trust/ThemeFrequency.vue
Explicit imports
Imported at the top of the component.
OfstedTheme (type)—~/data/trustsThe row type: theme, schools (count), note.DATA_FAMILIES—~/data/widgetsApp-level config: the Inspection family's colour token for the bars. Not API data.cssVar—~/utils/identityResolves the colour token to a CSS variable (500 for concerns, 400 for strengths).
Auto-imported components (Nuxt)
No import lines — Nuxt resolves these. A port to another stack must import them explicitly.
WidgetShell—widgets/parts/WidgetShell.vueShared chrome: family header (Inspection) and the definition tooltip. No modes.
Framework APIs
None beyond the template — the component has no internal state.
Input contract — themes: OfstedTheme[]
Defined in app/data/trusts.ts. The API returns one entry per theme; the widget adds nothing but the bar width.
| Field | Type | Notes |
|---|---|---|
| name | string | Widget title, e.g. "Common areas of concern". |
| definition | string | Plain-English definition for the header tooltip. |
| themes[].theme | string | The theme, e.g. "Curriculum implementation / consistency". |
| themes[].schools | number | How many of the trust's schools the theme recurs in. Bar length = schools ÷ total. |
| themes[].note | string | The commercial interpretation shown under the bar — the story, so it's visible, not tucked in a tooltip. |
| total | number | Schools in the trust: the denominator ("8 of 9"). |
Props & events
| Prop | Type | Notes |
|---|---|---|
| themes | OfstedTheme[] | The payload — see the contract. Rendered in the order given (sort strongest-first upstream). |
| total | number | The denominator. |
| kind | "concern" | "strength" | Default "concern". Strength uses a lighter shade of the same hue. |
Wiring it to the API
- One call returns a short list of themes with a count and a sentence each; the widget renders them as given and computes only the bar width (schools ÷ total).
- Order matters and is not changed by the widget — return the list strongest-first.
- The note is content, not a label: expect a full sentence of 10–20 words and plan for two lines.
- No modes, no interaction, no events: it's a read-only summary. Cross-highlighting with the Ofsted-by-school list is done by the page, not the widget.
For the spec to decide
- Metrics or Narrative shape? Each row has a number (count) and a sentence (interpretation). Metrics with the Message column carries both; Narrative carries the sentence but has no count column.
- Who writes the interpretation sentences — are they authored per trust, generated, or a fixed lookup per theme?
- Are concerns and strengths two frames of one topic (Inspection), or one frame with a column distinguishing them?
- Is the denominator the schools with a recent inspection, or all schools in the trust?

