Skip to content

A dashboard from one spec.

Four KPIs, four charts and two filters, laid out by dashboard(): numbers first, the trend full width, balanced rows, one color per region in every chart, one source line. Click a region or a channel: every chart and KPI follows. How it decides →

How are southern sales doing?

Sales by month, region and channel, 2024–2025, CLP millions

Updated: 2026-01-05 · 4 charts

Sales 2025

21K

▲ +19%vs 2024

Orders 2025

513K

▲ +19%vs 2024

Average ticket, CLP thousands

41.8

■ 0%vs 2024

Online share

36.1%

▲ +13%vs 2024

Line chart. Biobío: from 448 (Jan 2024) to 708 (Dec 2025) (+58%), peak 726 in Jun 2025. Ñuble: from 193 (Jan 2024) to 400 (Dec 2025) (+107%), peak 400 in Dec 2025. Araucanía: from 257 (Jan 2024) to 445 (Dec 2025) (+73%), peak 449 in Jun 2025. Maule: from 313 (Jan 2024) to 459 (Dec 2025) (+47%), peak 459 in Dec 2025.Ñuble grew 37% this year, faster than any other regionMonthly sales by regionQ1 2024Q2Q3Q4Q1 2025Q2Q3Q40200400600800Ñuble400
Choropleth map of Sales across 4 areas. Highest: Biobío (14K). Lowest: Ñuble (7.1K).Biobío makes 36% of salesSales 2024–2025 by regionSales7.1K8.3K9K11K14KAraucanía8.7KMaule9.2KBiobío14KÑuble7.1K
Bar chart of Sales across 3 categories. Highest: Store with 19K (49%). Lowest: Wholesale with 6.7K.Online is the only channel growingstronglySales by channel and year2024202505K10K15KStoreOnlineWholesale
Treemap of Sales across 2 levels, total 39,485. Largest: Store 18%, Online 12%, Store 11%.Physical stores are still half thebusinessSales by region and channelBiobío 37%Maule 23%Araucanía 22%Ñuble 18%Store18%Online12%Store11%Online8%WholesaleStore11%Online7.6%Wholesale3.7%Store8.7%Online6.2%
Source: illustrative dataplotagents
Show spec
dashboard({
  title: "How are southern sales doing?",
  subtitle: "Sales by month, region and channel, 2024–2025, CLP millions",
  source: "illustrative data",
  updated: "2026-01-05",
  locale: "en",
  data: [ /* 288 rows: month, year, region, channel, sales, orders */ ],
  kpis: [
    {
      label: "Sales 2025",
      field: "sales",
      agg: "sum",
      format: "compact",
      compare: {
        field: "year",
        current: 2025,
        previous: 2024
      },
      trendBy: "month"
    },
    {
      label: "Orders 2025",
      field: "orders",
      agg: "sum",
      format: "compact",
      compare: {
        field: "year",
        current: 2025,
        previous: 2024
      },
      trendBy: "month"
    },
    {
      label: "Average ticket, CLP thousands",
      field: "sales",
      agg: "ratio",
      over: "orders",
      scale: 1000,
      format: {
        decimals: 1
      },
      compare: {
        field: "year",
        current: 2025,
        previous: 2024
      }
    },
    {
      label: "Online share",
      value: 0.3607069576571535,
      format: "percent",
      delta: 0.12508890440745274,
      period: "vs 2024"
    }
  ],
  filters: [
    {
      field: "region",
      label: "Region"
    },
    {
      field: "channel",
      label: "Channel"
    }
  ],
  charts: [
    {
      type: "line",
      x: "month",
      y: "sales",
      series: "region",
      title: "Ñuble grew 37% this year, faster than any other region",
      subtitle: "Monthly sales by region",
      highlight: "Ñuble"
    },
    {
      type: "choropleth",
      geo: "chile",
      key: "region",
      value: "sales",
      fitTo: [
        "Biobío",
        "Ñuble",
        "Araucanía",
        "Maule"
      ],
      missing: "plain",
      title: "Biobío makes 36% of sales",
      subtitle: "Sales 2024–2025 by region",
      aggregate: "sum",
      format: "compact",
      tall: false,
      legendTitle: "Sales"
    },
    {
      type: "bar",
      x: "channel",
      y: "sales",
      series: "year",
      title: "Online is the only channel growing strongly",
      subtitle: "Sales by channel and year",
      format: "compact"
    },
    {
      type: "treemap",
      path: [
        "region",
        "channel"
      ],
      value: "sales",
      title: "Physical stores are still half the business",
      subtitle: "Sales by region and channel"
    }
  ]
})