Making quick charts in mysql takes advantage of the visual math cores in our brains. Using the rpad function allows us to do so in the mysql shell, e..g.
mysql> select value, rpad('', count(*), '#') from mail1_161 where oid = '.1.3.6.1.4.1.9600.1.1.5.1.5.1.48' and value > 0 group by value order by value desc; +-------+-------------------------+ | value | rpad('', count(*), '#') | +-------+-------------------------+ | 27 | ## | | 24 | # | | 22 | # | | 20 | ## | | 16 | # | | 15 | # | | 14 | # | | 13 | ## | | 12 | # | | 11 | # | | 10 | ## | | 9 | ### | | 8 | # | | 7 | ## | | 6 | ### | | 5 | ## | | 4 | # | | 2 | #### | | 1 | ###################### | +-------+-------------------------+