olirice@asciiplot
asciiplot
asciiplot is a toy library for producing ASCII scatterplots from PostgreSQL queries. Please note that it is not indended for serious use.
Usage
select
  scatter(
    val::numeric, --x
    val::numeric, -- y
    'stonks!', -- title
    15, -- height
    50 --width
  )
from
  generate_series(1,10) vals(val)
/*
                   stonks!
----------------------------------------------
|                                       *
|
|                                  *
|                              *
|
|                          *
|
|                     *
|                 *
|
|            *
|
|        *
|   *
*/
Install
- Install the dbdevpackage manager
- Install the package:
select dbdev.install('olirice@asciiplot');
create extension "olirice@asciiplot"
    version '0.0.1';
Downloads
- 0 all time downloads
- 0 downloads in the last 30 days
- 0 downloads in the last 90 days
- 0 downloads in the last 180 days