Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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?
- Host: GitHub
- URL: https://github.com/dingoeatingfuzz/chart-experiments
- Owner: DingoEatingFuzz
- Created: 2015-01-26T03:36:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-27T08:17:30.000Z (almost 10 years ago)
- Last Synced: 2024-11-08T22:19:12.988Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 230 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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