Overview
Meridian’s Insights Discovery feature uses AI to automatically analyze your data and surface meaningful patterns, trends, anomalies, and statistical findings. The insights panel provides actionable intelligence without requiring manual analysis.Insight Types
Insights are categorized into five types:Outliers
Data points that deviate significantly from expected patterns
Trends
Directional movements and patterns over time
Aggregations
Summary statistics and calculations across groups
Patterns
Recurring behaviors and relationships in the data
Anomalies
Unusual occurrences that warrant attention
Insight Structure
Severity Levels
- High: Requires immediate attention, significant impact
- Medium: Notable finding, should be reviewed
- Low: Informational, good to know
Insights Panel
The insights panel is implemented inInsightsPanel.tsx:
Panel Features
Insight Cards
Each insight is displayed in an interactive card:/home/daytona/workspace/source/src/components/InsightsPanel.tsx:69
Generating Insights
Manual Generation
Automatic Generation
Insights can be generated automatically:- After query execution
- When new data is uploaded
- On table change
- Via AI agent
Cache Strategy
Insights are cached to avoid redundant processing:Icon & Color Mapping
Type Icons
Severity Colors
Statistical Findings
TheStatisticalFindingsPanel provides detailed statistical analysis:
Finding Structure
Statistical Metrics
Mean (Average)
Mean (Average)
Sum of all values divided by count:
Median
Median
Middle value when sorted:
Standard Deviation
Standard Deviation
Measure of spread from the mean:
Quartiles (Q1, Q3)
Quartiles (Q1, Q3)
25th and 75th percentiles:
Coefficient of Variation
Coefficient of Variation
Relative variability measure:
Visualization Components
Stat Cards
Ring Progress
Shows coefficient of variation:Distribution Progress
Visualizes mean and median position:/home/daytona/workspace/source/src/components/StatisticalFindingsPanel.tsx:559
Empty States
No Data
No Insights Yet
Integration with AI Agent
The AI agent can generate insights as part of its analysis:Performance Optimization
Lazy Loading
Debounced Generation
Pagination
Advanced Tips
Custom Insight Rules
Custom Insight Rules
Define custom rules for your domain:
Insight Actions
Insight Actions
Add actions to insights:
Export Insights
Export Insights
Save insights for reporting:
API Reference
Insights use the following APIs:api.insights.generate- Generate new insightsapi.insights.get- Retrieve cached insightsapi.insights.refresh- Force regeneration
Next Steps
AI Agents
Use AI agents to automatically analyze your data
Statistical Analysis
Learn how to interpret statistical findings