Ciao Eric Great tool! Thanks a lot! I can't really understand the code but I don't need to. I think it could have much utility. The use of CSS calculation on presentation is ace!
I been playing around with using it for width of items (=simple bar chart). And manipulating hsla background-color opacity (=gradient of pill backgrounds). I used CSS viable stuff like this in the top \define---you likely know all this already ... /* css calculators - ! adjust numbers by case ! */ font-size: calc(0.5em + (0.2em * ($(count)$ / 5))); --bkd-color:calc(0 + (0.03 * ($(count)$ ))); /* insert color values */ background-color:hsla(260,60%,70%,var(--bkd-color)); Result on my range of counts for color gradient ... [image: Screenshot_2019-11-30 TidBits Favicons — juicy boring favicons.png] Great easy fun! Best wishes Josiah On Saturday, 30 November 2019 02:16:53 UTC+1, Eric Shulman wrote: > > On Thursday, November 28, 2019 at 9:08:32 AM UTC-8, TiddlyTweeter wrote: >> >> I was struck by the simplicity of this solution! >> One thing I want to do, but don't know how, is to change the filter so >> that the results can be presented in *Count Order *(highest to lowest). >> > > It's a bit tricky... you can't directly sort tags by the number of items > they are tagging... > > But I've managed to do it with a bit of trickery: > http://tiddlytools.com/filtergenerators.html > > 1) get all the tags. > 2) wikify a list that shows "tagcount;tagname", with the tag count numbers > padded with leading zeros > 3) sort that list and remove the tag count prefix from each item, and > wikify that. > > The result is a list of tags, sorted by number of items they tag. Then I > output that list as a tag cloud. > > Note: I also modified the tag display so that each tag pill shows the tag > name AND tag count. > > enjoy, > -e > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a982be7a-cbf6-41e3-9d7a-5f371935cca3%40googlegroups.com.

