Example code for a lecture at CityOS Hackathon: Smart Sarajevo about using JavaScript on front-end for real-time visualisation using AngularJS and Highcharts.
The commit history is made as clean as possible and could be followed as a tutorial.
The demo uses the following libraries:
To run the example you need a WebSocket server. A sample server feeding random
data is given in this repo inside random-feed-server
directory. To run the
server you need to install Node.js or
IO.js and run $ npm install
.
After that you can run the sample server with $ node server.js
.
Simply open index.html
in your browser to see the random data plotted.