Popularity
3.2
Growing
Activity
0.0
Stable
234
11
61

Monthly Downloads: 0
Programming language: JavaScript
Latest version: v1.3.3

ascii-charts alternatives and similar modules

Based on the "Command Line Utilities" category.
Alternatively, view ascii-charts alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ascii-charts or a related project?

Add another 'Command Line Utilities' Module

README

Chart

Ascii bar chart for nodejs.

Installation

$ npm install jstrace/chart

Example

When data exceeds the available width the data will "roll" to the tail-end of the array. This may become an option in the future, but that's the default behaviour for now ;)

var chart = require('chart');
var clear = require('clear');

var data = [1, 2, ...];

clear();
console.log(chart(data, {
  width: 130,
  height: 30,
  pointChar: 'โ–ˆ',
  negativePointChar: 'โ–‘'
}));

License

MIT


*Note that all licence references and agreements mentioned in the ascii-charts README section above are relevant to that project's source code only.