Example of command line chart rendering using Node.js and c3-chart-maker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
charts
data
output
.gitignore
LICENSE
README.md
gen-example-chart.bat
index.js
package.json

README.md

nodejs-chart-rendering-example

This repo demonstrates a use case for c3-chart-maker.

It shows how to render a chart from a CSV data file from the command line and accompanies a blog post on The Data Wrangler.

Setup

Make sure you have Node.js installed first. Download and install from here: https://nodejs.org/en/.

Make sure you install c3-chart-maker globallly as follows:

npm install -g c3-chart-maker

Now clone or download this repo so you have a local copy.

Generate charts

Change directory into your local copy of this repo and run the batch file to generate the example chart:

gen-example-chart.bat