···266266 // trim leading zeros — only draw from first non-zero point
267267 let firstNonZero = sliced.findIndex(d => d.count > 0);
268268 if (firstNonZero === -1) return; // nothing to draw
269269+ // include one zero point before the first non-zero for context
270270+ if (firstNonZero > 0) firstNonZero--;
269271 const data = sliced.slice(firstNonZero);
270270- if (data.length < 2) return;
272272+ if (data.length === 0) return;
271273272274 const max = Math.max(...data.map(d => d.count), 1);
273275 const w = container.clientWidth || 560;