home.social

#sparkline — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sparkline, aggregated by home.social.

fetched live
  1. Progress update on my #XSLT #SVG #sparkline generator

    wok.oblomov.eu/tecnologia/plot

    Another step in my path to revitalize usage of XSLT on the web. And before you ask, no, this is not to spite the #WHATWG and their #XML-aversive #JavaScript brainrot, it's something I've wanted to do for years, as documented by my previous posts on the subject.

    However, since the corporate-controlled WHATWG is using metrics as excuse to boycott the #openWeb and #indieWeb, it becomes doubly important to do this now.

  2. I'm currently working on the #XSLT that generates the #sparkline #SVG from raw #XML data to make it more flexible. This will make the code grow larger (especially singe I'm forced to use the 25-years old #XSLT1 because that's what browsers support, despite two major releases that would make everything easier and more compact), but I will be able to recycle the code to replace the pseudo-sparklines of index pages with _actual_ #sparklines.

  3. I have now actually started working on #sparkline support via #XSLT. The same page as before

    wok.oblomov.eu/tecnologia/plot

    now features a small preview of what this feature can do, and I can't express how happy I am to actually *see* that sparkline right there, my first *real* sparkline, not the pseudo-plots assembled form Unicode block characters still featuring at the top of my index pages.

    It's an ugly sparkline (I'm no Tufte after all) but it makes me so happy.

  4. This is your unsolicited reminder that to qualify as a #SparkLine, your chart must be designed to be legible in a paragraph of text without affecting line spacing. Tufte specifically coined the term to refer to data visualisations that fit into the area reserved for words in a sentence.

  5. @michelle @stefan Thanks! I wonder what a #a11y alternative would look like for a #sparkline ? Maybe add a <table> with the underlying data below the graph?

  6. #LookerStudio - Blog post
    Let's take advantage of the new #sparkline feature for scorecard with this custom recipe

    How to build your custom version with adaptative time granularity

    bit.ly/3NwFkz2