After a fair amount of work, I managed to use pivots to format my data
in such a way that it would be far more efficient for use in my custom
visualisation. Custom visualisations receive a JSON-formatted chunk of
data from the server, typically organ...