Sign inSign up

vialab/leadlag-chart

By vialab

•Updated over 5 years ago

Image
0

299

vialab/leadlag-chart repository overview

⁠LeadLag-Chart

Mostly a Javascript class wrapping/abstracting D3 V5 code to create a general purpose chart.

Specifically the JavaScript class to handle it all is ngram_viewer/static/js/ngram.js. That class is used in 'main.js'.

I also implemented the algorithm from the 'whom leads who' lead-lag paper, find it's implementation in 'leadlag.js' and it being used in 'main.js'.

⁠Installing

  1. run the npm install command⁠
  2. rename exampleconfiglogin.json to configlogin.json and add your Dimensions.ai API credentials⁠ to the file. The file is located in the server directory.
  3. npm start will launch nodemon listening on port 3000
  4. go to localhost:3000

⁠Dependencies

⁠Contributors

  • Adam Bradley PhD, Research Lead
  • Chris Collins PhD, Research Supervisor
  • Nathan Beals, Software Developer
  • Zachary Hills MSc, Software Developer

Tag summary

Content type

Image

Digest

Size

385.5 MB

Last updated

over 5 years ago

docker pull vialab/leadlag-chart