Easy SVG sparklines
But SVG is slower than Canvas. The main use case for sparklines is embedding them into cells, many hundreds or even thousands of them [1]. With hundreds of SVG files page becomes becomes visibly slower (first paint, scroll, interactions). I suggest to invest some time and check canvas solution too.<p>[1]: <a href="https://www.google.com/search?q=sparkline&tbm=isch" rel="nofollow noreferrer">https://www.google.com/search?q=sparkline&tbm=isch</a>