StealThis .dev
ページ 難しい

Analytics Page

A data-driven analytics dashboard with date range picker, area/funnel charts, heatmap, metric comparisons, and exportable data table. No libraries.

Labで開く
vanilla-js css
ターゲット: JS HTML

コード

Analytics Page

A comprehensive analytics dashboard focused on data exploration. Features date range filtering, multiple chart types, metric comparison cards, and an exportable data table.

Features

  • Date range picker — preset ranges (7d, 30d, 90d, Custom) with calendar dropdown
  • Metric comparison row — 4 cards comparing current vs previous period with % change
  • Area chart — page views / sessions over time with gradient fill
  • Funnel chart — conversion funnel (Visits → Signups → Trial → Paid)
  • Activity heatmap — GitHub-style contribution grid showing daily activity
  • Data table — top pages with views, bounce rate, avg duration, export CSV button
  • Responsive — stacks vertically on mobile

When to use it

  • Web analytics dashboard
  • Marketing performance reports
  • Product usage analytics