chartcn

Insights line

Multi-metric insights line and stacked channel contribution.

Insights Line
Multi-metric event trends
Insights Stacked Line
Channel contribution over the week

Data shape

Line (multi-metric)

type InsightPoint = {
  date: string
  sessions: number
  signups: number
  purchases: number
}

Stacked contribution

type ChannelPoint = {
  date: string
  organic: number
  paid: number
  referral: number
}

Use LineChart for independent metrics; use stacked AreaChart when series sum to a whole.

On this page