Here is an XQuery script to demo the interface, using the character-based simple encoding of the data:
Later
I've just discovered the undocumented chart type lfi so the sparkline can be shown without the axes - I found out from Brain Suda's blog