Data Pull & Chart Explainer
Description
What this agent manifest does
Ask a data question; get the query result, a chart, and a plain-language read of what it shows — with caveats.
Build an agent that answers a data question end to end: it uses a data agent to query the connected dataset, then code interpreter to chart the result and describe what the chart actually shows. You get the visual and the "so what?" together — the headline movement, the notable segments, and the caveats — without writing the query or building the chart yourself.
This is a query → visualize → explain pattern using markdown-header structure. Headers separate the result, the chart, and the read so a stakeholder can take just the parts they need. The two tools have distinct jobs: the data agent fetches grounded numbers, code interpreter turns them into a chart and computed summary. The defining discipline is causal restraint — the agent reports what moved and by how much, but frames relationships as association, not cause, because a chart showing two lines moving together is the easiest place to over-claim. Edge cases cover empty result sets, very large pulls (summarize, don't dump), and ambiguous metrics.
This pattern applies anywhere a data question should return a visual and a read together. Common scenarios for this pattern:
- KPI and metric snapshots
- Cohort and segment views
- Funnel and conversion reads
- Operational-metric checks
- Quick "what does this trend look like?" answers
The tools it uses
This manifest uses: data agent, code interpreter
Use this agent manifest to understand
How to build single-shot agents using markdown headers prompt structure for chart + plain-language read output.
License
This agent manifest is sample code subject to Azure's licensing terms for Distributable Code under the Universal License Terms for Online Services .
Disclaimer
IMPORTANT! This manifest is for educational and experimentation purposes. Resulting agents are not production ready. Review all provided resources and carefully test agent behavior in the context of your use case. Agents you create may be subject to legal and regulatory requirements, may require licenses, or may not be suitable for all industries, scenarios, or use cases. By using any manifest, you are acknowledging that resulting agents and other output are solely your responsibility, and that you will comply with all applicable laws, regulations, and relevant safety standards, terms of service, and codes of conduct. Learn more .