Chart Deep Dive
When to Use
- A metric spiked or dropped unexpectedly
- You need to understand what’s driving a trend
- Preparing a detailed, evidence-backed analysis for stakeholders
- Investigating differences between user or event segments
Instructions
Step 0: Identify the Chart
- Accept a chart URL or chart ID
- If the user provides a URL, use
Amplitude:getting_data_from_url to extract the chart ID
- If no chart identifier is provided, ask explicitly for the chart URL or ID and stop
Step 1: Retrieve and Validate Chart Data (Mandatory)
- Use Reading chart data to retrieve the chart definition and data
- If chart data cannot be retrieved or is empty, do not proceed
- Explain what’s missing (time range, event, filters, permissions)
- Ask the user to correct the chart or provide a valid chart
Capture and restate:
- Metric being measured
- Time range and granularity
- Chart type (e.g. time series, funnel, retention)
- Existing filters, segments, or breakdowns
Step 2: Identify the Pattern and Change Window
Use Analyzing chart to characterize what’s happening:
- Spike / Drop: Sudden change on specific date(s)
- Trend: Gradual increase or decrease over time
- Seasonality: Recurring weekly or monthly patterns
- Anomaly: Deviation from recent baseline or historical behavior
Explicitly identify:
- The window of change (start/end)
- Direction and magnitude of the change
- Baseline period used for comparison (default: previous equal-length period)
Step 3: Investigate Likely Drivers (Bounded)
Instead of broad slicing, use guided segmentation:
- Use Finding the right event properties to identify the most relevant properties for explaining the change
- Select up to 9 high-signal properties (e.g. platform, country, plan, version)
- Re-run Analyzing chart with these properties in mind to determine:
- Which segments contribute most to the change
- Whether the pattern is localized or broad-based
- Only fetch up to 3 charts at a time when using
Amplitude:query_charts
Avoid testing more than 9 properties in aggregate unless the user explicitly asks for deeper exploration.
Step 4: Correlate with Context (Required for Anomalies)
For spikes, drops, or unexpected shifts, gather contextual signals in the same timeframe:
- Use Getting experiments to identify active experiments or flags
- Use Getting deployments to identify releases or rollouts
- Use Searching for content to surface annotations or relevant documentation
- Use
Amplitude:get_feedback_insights to search customer feedback trends that might explain the change
- Use
Amplitude:get_feedback_mentions to pull in specific customer mentions if there's a likely feedback trend tied to what's being explained.
Determine whether any contextual changes align temporally with the chart pattern.
Step 5: Synthesize Findings
Present a structured, decision-ready analysis:
What Happened
Clear description of the observed pattern and magnitude
When
Exact timeframe and comparison baseline
Primary Hypothesis
Most likely explanation based on chart data and contextual signals
Supporting Evidence
- Key metrics
- Segment contributions
- Relevant experiments, deployments, or annotations
Alternative Explanations
1–3 plausible alternatives and why they are less likely
Impact
Quantify impact where possible (users, events, conversion, revenue proxy)
Recommended Next Step
One clear follow-up action (e.g. deeper segment, experiment review, instrumentation check)
Always include:
- Chart name
- Chart ID
- Link back to the chart
- Coverage (e.g. properties tested, segments analyzed)
Best Practices
- Always compare against a clear baseline period
- Distinguish observations from hypotheses
- Prefer high-signal segmentation over exhaustive slicing
- Note data quality issues (low volume, incomplete periods, heavy “(none)” values)
- Do not create or edit charts unless the user explicitly asks
1---2name: analyze-chart-33description: Performs deep analysis of a specific Amplitude chart to explain trends, anomalies, and likely drivers. Use when a metric looks unusual, investigating a spike or drop, or understanding the "why" behind numbers.4---56# Chart Deep Dive78## When to Use910- A metric spiked or dropped unexpectedly11- You need to understand what’s driving a trend12- Preparing a detailed, evidence-backed analysis for stakeholders13- Investigating differences between user or event segments1415## Instructions1617### Step 0: Identify the Chart1819- Accept a chart **URL or chart ID**20- If the user provides a URL, use `Amplitude:getting_data_from_url` to extract the chart ID21- If no chart identifier is provided, ask explicitly for the chart URL or ID and stop2223---2425### Step 1: Retrieve and Validate Chart Data (Mandatory)2627- Use **Reading chart data** to retrieve the chart definition and data28- If chart data cannot be retrieved or is empty, **do not proceed**29 - Explain what’s missing (time range, event, filters, permissions)30 - Ask the user to correct the chart or provide a valid chart3132Capture and restate:33- Metric being measured34- Time range and granularity35- Chart type (e.g. time series, funnel, retention)36- Existing filters, segments, or breakdowns3738---3940### Step 2: Identify the Pattern and Change Window4142Use **Analyzing chart** to characterize what’s happening:4344- **Spike / Drop**: Sudden change on specific date(s)45- **Trend**: Gradual increase or decrease over time46- **Seasonality**: Recurring weekly or monthly patterns47- **Anomaly**: Deviation from recent baseline or historical behavior4849Explicitly identify:50- The **window of change** (start/end)51- Direction and magnitude of the change52- Baseline period used for comparison (default: previous equal-length period)5354---5556### Step 3: Investigate Likely Drivers (Bounded)5758Instead of broad slicing, use **guided segmentation**:59601. Use **Finding the right event properties** to identify the most relevant properties for explaining the change612. Select **up to 9 high-signal properties** (e.g. platform, country, plan, version)623. Re-run **Analyzing chart** with these properties in mind to determine:63 - Which segments contribute most to the change64 - Whether the pattern is localized or broad-based65 - Only fetch up to 3 charts at a time when using `Amplitude:query_charts`6667Avoid testing more than 9 properties in aggregate unless the user explicitly asks for deeper exploration.6869---7071### Step 4: Correlate with Context (Required for Anomalies)7273For spikes, drops, or unexpected shifts, gather contextual signals in the same timeframe:7475- Use **Getting experiments** to identify active experiments or flags76- Use **Getting deployments** to identify releases or rollouts77- Use **Searching for content** to surface annotations or relevant documentation78- Use `Amplitude:get_feedback_insights` to search customer feedback trends that might explain the change79- Use `Amplitude:get_feedback_mentions` to pull in specific customer mentions if there's a likely feedback trend tied to what's being explained.8081Determine whether any contextual changes align temporally with the chart pattern.8283---8485### Step 5: Synthesize Findings8687Present a structured, decision-ready analysis:88891. **What Happened** 90 Clear description of the observed pattern and magnitude91922. **When** 93 Exact timeframe and comparison baseline94953. **Primary Hypothesis** 96 Most likely explanation based on chart data and contextual signals97984. **Supporting Evidence** 99 - Key metrics100 - Segment contributions101 - Relevant experiments, deployments, or annotations1021035. **Alternative Explanations** 104 1–3 plausible alternatives and why they are less likely1051066. **Impact** 107 Quantify impact where possible (users, events, conversion, revenue proxy)1081097. **Recommended Next Step** 110 One clear follow-up action (e.g. deeper segment, experiment review, instrumentation check)111112Always include:113- Chart name114- Chart ID115- Link back to the chart116- Coverage (e.g. properties tested, segments analyzed)117118---119120## Best Practices121122- Always compare against a clear baseline period123- Distinguish **observations** from **hypotheses**124- Prefer high-signal segmentation over exhaustive slicing125- Note data quality issues (low volume, incomplete periods, heavy “(none)” values)126- Do **not** create or edit charts unless the user explicitly asks