Ask ChatPlotDB.

Every question planned. Every query shown. Every answer verified.

Analyze AAPL performance from my portfolio database

AAPL revenue came to $391B in FY24, up 2.0% year over year.

iPhone and Services drove most of it, together about three quarters of the total.

Thinking…
  1. revenue_by_segment: sql_macro, FY24 revenue grouped by segment
  2. yoy_growth: sql_macro, this year against last, per segment
  3. segment_share: python, each segment as a share of the total
  4. revenue_flow: pipeline, segment → income, for the chart
Ask your data anything...
Attach DB
ChatPlotDB

Ask your data anything,get an answer in seconds

Connect a database, ask in plain English, and ChatPlotDB writes the SQL, runs it, and hands back clean tables and charts your whole team can read.

Config Studio
G
KnowledgeTools
4 tools drafted
Turn a report I run every week into a tool
Show working (4 steps)
load_current_toolsno published tools on this config
introspect_schema12 tables · 148 columns across 3 sources
test_custom_tool4 of 4 drafts returned rows
save_draft_tools4 tools drafted, awaiting review

Your weekly revenue review is four repeated steps. I drafted each as its own tool and ran it against portfolio_db:

Drafted tools (4)
Review each tool, then publish the ones you want.
revenue_by_segmentsql_macro
fiscal_year: integer, segment: string_enum[iPhone|Services|Mac]
yoy_growthsql_macro
metric: string_enum[revenue|margin], periods: integer
segment_sharepython
fiscal_year: integer
revenue_flowpipeline
fiscal_year: integer, basis: string_enum[net|gross]
4 of 4 selected · publishing to portfolio_dbPublished
Describe the analysis you want as a reusable tool…
portfolio_db
Tools mode · drafting reusable tools for portfolio_db
What people ask

No syntax to learn,and no analyst to wait for

These are questions, not queries. Each one is answered from your own tables, with the SQL attached so anyone who wants to check the working can.

[ 01 ]

How many accounts churned last month, and which plan were they on?

A table, grouped by plan, with the SQL that produced it.

[ 02 ]

Plot weekly signups since January.

A line chart you can save straight to a dashboard.

[ 03 ]

Compare this quarter's revenue with the same quarter last year.

Both periods side by side, with the delta worked out.

[ 04 ]

Which customers in this CSV aren't in the database yet?

A hybrid answer: the uploaded file and your tables in one query.

[ 05 ]

What counts as an active account here?

The definition from your config, not a guess from column names.

[ 06 ]

Alert me in Slack if refunds go above 2% this week.

A saved card with a threshold on it, watching on a schedule.

Asking questions

No. You ask in plain English and ChatPlotDB writes the SQL for you: the way you'd ask a colleague who happens to know the schema.

The SQL is still shown, because the people who do read it are usually the ones being asked to trust the number.

Yes. The generated query is shown alongside the answer, so you can read exactly what ran.

Questions answered from an uploaded CSV or Excel file skip the step: there's no database there to protect.

From your config: the semantic layer that records which tables matter, how they join, and how your metrics are defined, so "active account" resolves to the same thing every time.

Config Studio writes the first draft of it by reading your schema, and you review it in plain language rather than YAML.

No. The agent only ever issues read queries, and that restriction is enforced in the product rather than left to the prompt.

Pair it with a scoped database role anyway: grant SELECT on what should be queryable and nothing else.

Get started with ChatPlotDB