Overview
The Analytics Engine lets you create interactive dashboards with drag-and-drop widgets. Visualize your data with charts, tables, metrics, and more.
Dashboard Features
Create visualizations using various widget types:
- Line Charts: Track trends over time
- Bar Charts: Compare categories
- Pie Charts: Show proportions
- Area Charts: Display cumulative values
- Scatter Plots: Analyze correlations
- Data Tables: Show detailed records
- Metric Cards: Display KPIs
Drag-and-Drop Layout
- Resize widgets to any size
- Arrange widgets in a flexible grid
- Create multi-column layouts
- Save and share dashboards
Creating a Dashboard
Step 1: Create New Dashboard
- Navigate to Analytics Engine
- Click New Dashboard
- Give your dashboard a name
- Click Add Widget
- Select your widget type
- Write or select a query for the data
- Configure chart options
Each widget type has specific options:
Chart Options:
- X-axis and Y-axis fields
- Color schemes
- Legend position
- Axis labels and formatting
Table Options:
- Column selection
- Sorting
- Pagination
- Search and filter
Step 4: Save and Share
- Save your dashboard
- Share with team members
- Set refresh intervals for live data
Each widget is powered by a SQL query:
-- Revenue by month for line chart
SELECT
DATE_TRUNC('month', order_date) as month,
SUM(total) as revenue
FROM orders
WHERE order_date >= '2024-01-01'
GROUP BY month
ORDER BY month;
Best Practices
Start simple: Begin with a few key metrics before adding complex visualizations
Use consistent colors: Maintain a color scheme across related charts
Optimize queries: Use aggregations and filters to keep dashboards fast