Chart Type Reference

Live examples of each chart type against realistic Armenia-statistics-shaped data, to decide which visualization fits which kind of indicator. Dev-only page, not linked from navigation.

1. Area chart

Use when: a single continuous indicator over time where you want to emphasize magnitude/level (GDP, population, salary). This is the current default on indicator detail pages.

2. Line chart (no fill)

Use when: same as area, but when you're overlaying multiple series and a filled area would visually clutter or overlap — cleaner for comparing shapes/trends rather than absolute magnitude.

3. Bar chart

Use when: few, discrete data points, or when the value at each year matters more than the continuous trend between years — e.g. annual growth %, discrete counts (births, marriages), or any indicator better read as separate bars than a connected line.

4. Combo chart (bar + line)

Use when: showing a value and its rate of change together — e.g. GDP level as bars, growth % as an overlaid line. Common in economic dashboards (Trading Economics style).

5. Multi-series line (compare mode)

Use when: overlaying two different indicators to compare their trends directly — e.g. GDP vs. average salary. Needs a normalized/dual-axis approach since units differ.

6. Stacked area

Use when: showing two related series whose sum matters too — e.g. exports + imports (trade volume), or budget revenue vs. spending. Stacking shows both the total and the composition.

7. Stacked bar (composition over time)

Use when: showing how a population/budget breaks into categories, and how that mix shifts across years — e.g. population by age group, or budget by sector.

8. Pie / donut (composition, single point in time)

Use when: showing a breakdown at one specific moment rather than over time — e.g. population share by region this year, or budget allocation by category for the latest year.

9. Scatter plot

Use when: correlating two different indicators against each other rather than against time — e.g. inflation vs. unemployment across years, to visually check for a relationship (Phillips-curve style analysis).

10. Horizontal bar (ranked comparison)

Use when: ranking categories with long labels side by side — e.g. GDP or population by region/marz, where region names are too long for a vertical bar's x-axis.

11. Sparkline (compact trend preview)

Use when: showing many indicators at a glance without full chart chrome — used on the statistics home page's featured cards. No axes/tooltip, just the shape.