willkg / crashstats-tools

Command line tools and library for interacting with Crash Stats (https://crash-stats.mozilla.org/)
Mozilla Public License 2.0
7 stars 0 forks source link

consider adding bars to supersearchfacet #104

Open willkg opened 11 months ago

willkg commented 11 months ago

We could support bars with supersearchfacet where there's just keys and values. Maybe we specify the columns to show and denote which to graph?

$ supersearchfacet --_facets=product --show-columns=product:text,count:graph
product
 product          | count  | graph
------------------|--------|------
 Firefox          | 379327 | ======================
 Fenix            | 345167 | =======================
 Thunderbird      | 106367 | =======
 Focus            | 6283   | =
 MozillaVPN       | 3      | =
 ReferenceBrowser | 1      | =
 --               | 0      | 
 total            | 837148 | =====================================================================

Or something like that?

Maybe use plotext? https://github.com/piccolomo/plotext

Maybe roll our own graphs? I've done this in the past.