1.0.0 • Published 4 years ago

console-bar-chart v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

How To Install

npm install console-bar-chart

How To Use

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

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._