Data display / Findings

Data display

Findings

A short list of observations beside a chart or a summary figure: a toned icon, one plain statement and an optional link to the rows behind it.

import { EcoFindings } from "vue-ecosphere"

Beside a chart

The four tones, two with a link to their rows. Below about 900px, stack the chart and the findings.

Regional sales, May

Calculated from 55,790 orders

  1. North14 stores$2.10M43.6%
  2. South11 stores$1.31M27.2%
  3. East9 stores$0.86M17.8%
  4. West8 stores$0.55M11.4%
  • Problem: West sales fell 18% from April, the largest drop of any region.

    See 42 orders
  • Check: 6 orders have no region recorded and are left out of these totals.

    See 6 orders
  • Good: Every region met its monthly target in March and April.

  • Note: North brings in 43.6% of revenue, about the same share as last quarter.

Compact, inside a card

Stock checks

Updated 12 Nov 2026
  • Problem: 3 products are out of stock with open orders.

    See 3 rows
  • Check: 14 products are below their reorder point.

  • Good: Counts match the last stocktake in all six warehouses.

Compact, under a summary figure

Unit price changes, January

128

Products with a new price from 1 Jan 2027

  • Check: 4 prices rise by more than 15%.

    See 4 rows
  • Note: Most rises are between 2% and 6%.

API

NameTypeDefaultDescription
itemsEcoFinding[]—{ tone?, text, link? }. Wrap the figure that matters in **…** to set it in bold. Problems first; five or fewer.
tone"danger" | "warning" | "success" | "neutral""neutral"Each tone has its own icon and sr word (Problem, Check, Good, Note), never colour alone.
link{ label, href }—Opens the rows the finding is about. Gets aria-describedby pointing at its statement.
labelstring"Findings"aria-label of the list. Without it, a passed aria-labelledby names the list instead.
compactbooleanfalseBare 16px icons and 13px statements, inside a card or under a KPI figure.