1.0.0 • Published 5 years ago

bar-chart-console v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

How To Install

npm install bar-chart-console

How To Use

const barChart = require('bar-chart-console')

let data = {
  "label"  : ["2000","2001","2002","2020"],
  "value" : [1,5,3,2],
};

barChart.draw(data);

Output

    5        ||||             
    4        ||||             
    3        ||||  ||||       
    2        ||||  ||||  |||| 
    1  ||||  ||||  ||||  |||| 
      2000   2001   2002  2020  
Notice
  This module is not yet completely done.
  _Please contact the developer for suggestions and improvements._
1.0.0

5 years ago