Started with a SVG-generating script someone wrote in JS; rewrote it in JS from scratch (without nested for loops and OOP); then attempted to rewrite in JS+d3, hit some walls (not really d3s fault).
Rewrote in #Racket.
Somehow building an s-expression (that is automatically transformed into xml) is so much more pleasant than calling dom methods and mutating things.
(d3 is nice too, but for this use case plain Racket was even better).
Mamot.fr est une serveur Mastodon francophone, géré par La Quadrature du Net.