An open API service indexing awesome lists of open source software.

https://github.com/ashleydavis/nodejs-chart-rendering-example

Example of command line chart rendering using Node.js and c3-chart-maker
https://github.com/ashleydavis/nodejs-chart-rendering-example

chart charting charts data-visualization javascript node node-js nodejs visualization

Last synced: 3 months ago
JSON representation

Example of command line chart rendering using Node.js and c3-chart-maker

Awesome Lists containing this project

README

        

# nodejs-chart-rendering-example

This repo demonstrates a use case for [c3-chart-maker](https://github.com/codecapers/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](http://www.the-data-wrangler.com/node-js-chart-rendering-with-c3-and-nightmare/).

[Click here to support my work](https://www.codecapers.com.au/about#support-my-work)

## Setup

Make sure you have Node.js installed first. Download and install from here: [https://nodejs.org/en/](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