Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dingoeatingfuzz/svg-chart-server
An express helper for hosting svg charts as images
https://github.com/dingoeatingfuzz/svg-chart-server
Last synced: 18 days ago
JSON representation
An express helper for hosting svg charts as images
- Host: GitHub
- URL: https://github.com/dingoeatingfuzz/svg-chart-server
- Owner: DingoEatingFuzz
- Created: 2015-02-27T10:41:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-27T10:44:22.000Z (almost 10 years ago)
- Last Synced: 2024-11-08T22:19:20.416Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 117 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 app.js
```Navigate to
```
localhost:3000/mark
localhost:3000/mark.svg
localhost:3000/mark.png
```