Hacker News new | ask | show | jobs
by stevekrouse 1073 days ago
I thought it'd be fun to play with sparklines on Val Town, which is a server-side platform for running JavaScript.

First I did the opposite of this post and used all the libraries (react, htm, and react-sparkline): https://www.val.town/v/stevekrouse.sparklineEx

Then I found a comment below that does it in vanilla js, so I ported that over to Val Town as well: https://www.val.town/v/stevekrouse.sparklineEx2