Spark is a typeface for creating sparklines in text. It uses OpenType’s contextual alternates and requires no Javascript, though it does require a modern-ish browser that can make use of OpenType features in text.
Spark data needs to be formatted as comma-separated values, with curly brackets at both ends of the set, e.g.,
{30,60,90}
. You can also have numbers at the beginning and end of the set, which are useful for providing the start and end points, e.g.,123{30,60,90}456
– Spark has numerals built in.
Really neat!
Spark: A typeface for creating sparklines in text without code (GitHub) →
AtF Spark →
If you want this functionality in a simple WordPress plugin, check this one out: https://github.com/nilspersson/sparklines-for-wordpress