apoints = []</script>
    <script data-calc>
        if (typeof data === 'string')
            datapoints = data.split(' ').map((val) => Number(val));
        else if (Array.isArray(data)) {
            datapoints = [...data]
        }

        const max = Math.max(...datapoints);
        datapoints = datapoints.map((val) => max - val);
        datapoints = datapoints.map((val, index) => `${index ? 'L' : 'M'} ${index} ${val}`)
    </script>
    <svg data-attr-view-box="0 0 ${datapoints.length-1} ${max}" pre