https://smogon.com/stats already has useful aggregate reports, and sites like Pikalytics provide a snazzy interface for most basic queries. But what about queries that aren't basic? Well, the JSON files (listed under stats/*/chaos) have all the data you need, but JSON isn't a great format to...