Re:Sparks: A typeface for creating sparklines in text withou...
by arduinomancer on Wednesday May 06, 2020 @04:49PM
(#23096123)
Can someone explain the advantage of doing this via text?
[ Parent
| on HN ]
Re:Sparks: A typeface for creating sparklines in text withou...
by mattlondon on Wednesday May 06, 2020 @04:58PM
(#23096207)
A couple of things that spring to mind:
- super simple: no need to integrate a charting library or do server-side rendering
- performance: if you have a table of hundreds of rows each with a sparkline chart (e.g CPU load/QPS/error rate/etc for many nodes etc in a cluster), just some text will be hugely more performant that 100x charting widgets or 100x server-side rendered images.
Re:Sparks: A typeface for creating sparklines in text withou...
by philjohn on Wednesday May 06, 2020 @05:19PM
(#23096437)
Also gracefully degrades if the font isn't available for whatever reason, you'd see:
{0, 10, 20, 30, 40, 50, 60, 70, 80, 90}