Line Chart
Line Chart is perfect for displaying changes and trends in data when it's important to see how metrics evolve over time. 🚀
This chart is suitable for:
- Tracking Changes Over Time – Perfect for analyzing trends and the dynamics of changes.
- Identifying Trends – Helps detect growth, decline, or stability in specific metrics.
- Comparing Multiple Variables – Allows displaying multiple lines to compare different categories.
- Forecasting – Based on trends, predictions can be made about future values.
Typical Use Cases:
- Sales Dynamics Over Months/Years
- Temperature Fluctuations Throughout the Year
- Stock Exchange Rates or Price Changes
- Website Traffic by Day
yml Configuration example
yml
type: line
title: Line bar
data:
table: demo.cleaned_sales_data
query: 1=1
metrics:
- name: sales
operator: sum
title: sales
x: order_date
granularity: quarter
orderby: year
controls:
style:
area: true