Dory Docs
Workflows

Build Charts from SQL

The best charts usually come from queries that already return tidy, intention-revealing output.

Prepare the result

  • Use stable labels.
  • Keep one metric meaning per column.
  • Add ordering in SQL when the chart depends on it.
  • Aggregate before charting when possible.

On this page