     <sparkline id="purple" color="purple" width="100%" height="4em" data="data1"></sparkline>
                Customize sparkline with the width, height and color attributes.
            </aside>
        </section>
        <section>
            <div>Based on <a href="https://alexplescan.com/posts/2023/07/08/easy-svg-sparklines/">Easy SVG sparkline.</a>
            </div>
        </section>
    </main>
</body>

<template data-component="sparkline" data-arg-data="" data-arg-color="black">
    <script>let dat