Metabase Sparklines (yes you can)

This is an adaptation of something I did using Crystal Reports a few years ago. It’s a lot easier in Crystal, but can be done in Metabase if you do something clever in your SQL (use a view is easiest).
As a simple example, create a SQL Question in Metabase:
SELECT ',20,30,5,50' as chart, 'some text' as charttext
If you paste, be careful that the url doesn’t get &ified.

Second column is just to stop Metabase automatically giving you a big text box.
Then format the first column to display an image:


Google have a whole stack of charts you can do like this. In theory it’s deprecated, but it’s been like that for years.

Original blog post is here:
Google play area is here:


@AndrewMBaines Andrew, you’re awesome!
Just for reference, there’s a request open for sparklines - go and upvote by clicking :+1: on the first post:

@AndrewMBaines that’s both fantastic and horrific at the same time. I love it. Thanks for pointing this out, it might come in handy in a pinch.