Code Explainers
function sparkline(values, { width = 200, height = 40, stroke = '#2563eb', fill = 'rgba(37,99,235,0.12)' } = {}) { if (!Array.isArray(values) || values.length < 2) { throw new RangeError('sparkline requires at least two data points'); }