When Client Datasets Outgrow One Page, Verify Chart Coverage Before Sharing

Does a chart my agency builds on a client's Datasette data reflect the full dataset, or only the rows currently on screen?

Rule: Before any Datasette-backed chart goes into client delivery, confirm its underlying SQL aggregates every row in the table and compare its totals against a direct query.

Mistake: Operators see a clean chart, assume it reflects the whole table, and put it in a retainer report without reconciling totals. The second mistake is treating an alpha plugin as delivery-ready because the chart builder and chat integration feel finished.

Why it works: An earlier Datasette charting plugin, datasette-vega, only charted the current page of up to 100 rows, so totals on larger client tables could look complete while omitting most of the data. The newer datasette-charts 0.1a0 compiles each chart to an aggregating SQL query over all rows, which removes that specific gap, but its 0.2a0 alpha release still suits evaluation rather than client-facing reporting.

Apply it when:

  • A client table holds more rows than a single page view can display
  • Your agency plans to put a chart into a retainer report or a client-facing dashboard
  • The chart was built through a plugin whose release is still alpha or beta
  • Someone on the client team will act on the chart's totals without checking the raw table
  • The dataset is refreshed on a schedule, so stale or partial aggregates could persist unnoticed