			let ds = dayStats[i];
						let bar = document.createElement('a');
						bar.href = '{{ .Site.BaseURL }}/affected/' + systemName;
						bar.className = 'histogram-bar';

						// Determine localized label from severity
						let labelText;
						if (ds.worstSeverity === 'down') {
							labelText = '{{ T "thisIsDown" }}';        // e.g. "Down"
						} else if (ds.worstSeverity === 'disrupted') {
							labelText = '{{ T "thisIsDisrupted" }}';   // e.g. "Disrupted"
						} else {
							labelText = '{{ T 