/d3-server-side-demo

demo express.js app that uses d3.js to render svg charts server-side

Primary LanguageHTML

d3-server-side-demo

This app uses d3.js to render svg charts on the server-side with node.js.

Inspired to generate a chart like: https://www.fastcompany.com/3068474/the-real-difference-between-google-and-apple

Requirements

Getting Started

  • Clone the repo
  • Install dependencies with npm install

For latest OSX:

export LD_LIBRARY_PATH=/usr/local/Cellar/gcc/9.2.0_2/lib/gcc/9/
env CXXFLAGS="-mmacosx-version-min=10.9" npm install