Zach Leat recently created a cloud function that dynamically generates sparklines. Under the hood sits the the
sparkline-svg package to generate the SVG. The datapoints themselves can be passed in via the URL.
Image URLs have the formats:
The code is meant to be deployed as a Netlify Serverless Function.