chart-csv

1.0.3 • Public • Published

chart-csv

Chart a comma separated list of numbers on a line-graph that can be viewed in a web browser.

chart

Build status js-standard-style

Installation

Install chart-csv globally:

npm install chart-csv -g

Usage

Pipe CSV data to the chart-csv application. The chart-csv application will output HTML to STDOUT, so you probably want to redirect the output to a file that you can open in your web browser:

cat data.csv | chart-csv > data.html

The CSV data is expected to be in the following format:

foo,bar,baz
22462464,10295296,5624728
22941696,10295296,6085280
23003136,10295296,6141496
23048192,10295296,6188480

Use as many columns as you like.

If the CSV data doesn't contain any headers in the first line, no legend will be generated.

License

MIT

Package Sidebar

Install

npm i chart-csv

Weekly Downloads

202

Version

1.0.3

License

MIT

Last publish

Collaborators

  • watson