Chart Canvas Overview
The Chart Canvas is a drag-and-drop workspace where your visualizations live:Real-Time UpdatesWhen you or a teammate runs a query that updates the data, all charts refresh automatically. This is powered by Convex’s reactive subscriptions.
Creating Your First Chart
You can create charts through the AI agent or manually configure them.Using the Analysis Agent
Ask for a Visualization
Tell the Analysis Agent what you want to visualize:Example requests:
- “Create a bar chart showing revenue by region”
- “Make a line chart of sales trends over time”
- “Show me a pie chart of product category distribution”
- “Visualize the top 10 customers by purchase amount”
Manual Chart Configuration
You can also create charts programmatically:Chart Types
Meridian supports six chart types, each optimized for different data patterns.Bar Chart
Perfect for comparing categories or time periods.- Comparing values across categories
- Showing multiple metrics side-by-side
- Temporal comparisons (monthly, quarterly)
- Revenue by product category
- Sales by region
- Performance metrics comparison
Line Chart
Ideal for showing trends over time.- Time series data
- Trend analysis
- Comparing multiple metrics over time
- Daily sales trends
- Website traffic over time
- Stock price movements
Area Chart
Similar to line charts but emphasizes volume.- Cumulative values
- Showing magnitude of change
- Stacked metrics
- Cumulative revenue
- User growth over time
- Inventory levels
Pie Chart
Shows proportions of a whole.- Part-to-whole relationships
- Percentage distributions
- Simple category breakdowns
- Market share
- Budget allocation
- Customer segment distribution
Donut Chart
Variant of pie chart with a center hole.- Same as pie charts, with more space for labels
- Highlighting a total in the center
- Modern, clean aesthetic
- Revenue by product line
- Traffic sources
- Task completion status
Scatter Plot
Shows relationships between two variables.- Correlation analysis
- Distribution patterns
- Outlier detection
- Price vs. sales volume
- Age vs. spending
- Performance metrics relationships
Dragging and Positioning
Charts are fully draggable using pointer events (works with mouse and touch).How Dragging Works
Positioning Features
- Drag handle - Grab the header or grip icon to move charts
- Constrained movement - Charts stay within canvas bounds
- Smooth positioning - Positions snap to pixel boundaries
- Visual feedback - Charts elevate and show borders when hovered
Chart Interaction
Charts include several interactive features:Hover Effects
Remove Button
Click the X icon to remove a chart:Drag Handle
The grip icon indicates draggable areas:Live-Time Updates
Charts update automatically when underlying data changes.Millisecond UpdatesCharts update in milliseconds after a query completes, not seconds or minutes. This is faster than batch processing tools like Tableau or PowerBI.
Chart Canvas Behavior
Responsive Sizing
The canvas adjusts to your content:Empty State
When no charts exist:Multiple Charts
Arrange multiple charts for comprehensive dashboards:Multi-Series Charts
Display multiple metrics on the same chart:- Actual vs. target comparison
- Revenue and costs on the same timeline
- Multiple product lines
- Before/after comparisons
Best Practices
Choose the Right Chart Type
Choose the Right Chart Type
Match your chart type to your data:
- Trends over time? → Line or Area chart
- Category comparison? → Bar chart
- Part of whole? → Pie or Donut chart
- Correlation? → Scatter plot
- Multiple metrics? → Multi-series Line or Bar
Keep Titles Descriptive
Keep Titles Descriptive
Good chart titles explain what’s being shown:❌ “Sales Chart”
✅ “Monthly Sales Revenue by Region (2024)”❌ “Data”
✅ “Customer Acquisition Cost vs. Lifetime Value”
Limit Series Count
Limit Series Count
Too many series make charts hard to read:
- Bar/Line charts: 3-5 series maximum
- Pie/Donut charts: 5-7 slices maximum
- Scatter plots: Consider color coding for categories
Organize Your Canvas
Organize Your Canvas
Arrange charts logically:
- Group related charts together
- Put high-level metrics at the top
- Arrange in reading order (left to right, top to bottom)
- Leave space between charts for clarity
Use Consistent Colors
Use Consistent Colors
Maintain color consistency across charts:
- Use the same color for the same metric across charts
- Follow conventional meanings (green = positive, red = negative)
- Ensure sufficient contrast for accessibility
Performance Considerations
DuckDB’s Analytical PowerDuckDB can analyze millions of rows in seconds. Don’t hesitate to create charts from large datasets - the columnar storage and vectorized operations make it fast.
Optimizing Chart Queries
For best performance:Collaborative Charting
Charts are shared across your team in real-time:- Add a chart → Everyone sees it immediately
- Move a chart → Position updates for all users
- Remove a chart → Disappears from all views
- Update data → All charts refresh automatically
What’s Next?
Collaboration Tips
Learn how to work effectively with your team in Meridian
Using AI Agents
Let AI create and update charts automatically