diff --git a/make_post_sell/templates/analytics.j2 b/make_post_sell/templates/analytics.j2
index 781725e..78f65cc 100644
--- a/make_post_sell/templates/analytics.j2
+++ b/make_post_sell/templates/analytics.j2
@@ -6,29 +6,43 @@
{% block content -%}
-{% macro line_chart(data, max_value, label, color) %}
+{# y-axis tick label — `as_pct` formats v as a percentage (0..1 → 0%..100%),
+ otherwise show v rounded as integer with `unit` suffix appended. #}
+{% macro y_tick_label(v, unit, as_pct) -%}
+{%- if as_pct -%}{{ (v * 100) | round(0) | int }}%{%- else -%}{{ v | round(0) | int }}{{ unit }}{%- endif -%}
+{%- endmacro %}
+
+{% macro line_chart(data, max_value, label, color, unit="", as_pct=False, axis_label="") %}
{% if data and max_value > 0 %}
-