Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dingoeatingfuzz/chart-experiments

Server-side d3 rendering to pngs without a headless browser?
https://github.com/dingoeatingfuzz/chart-experiments

Last synced: 18 days ago
JSON representation

Server-side d3 rendering to pngs without a headless browser?

Awesome Lists containing this project

README

        

### Chart Experiments

Server-side d3 rendering to pngs without a headless browser?

#### Setup OSX
```sh
$ brew install imagemagick --with-librsvg
$ brew install graphicsmagic
$ npm install
```

#### Setup Ubuntu
```sh
$ ¯\_(ツ)_/¯
$ npm install
```

#### Test it
```sh
$ node index.js
```

### TODO
1. Wrap this in a web server
2. All routes become png/jpg/svg/html
3. Forward request object into chart constructor