Skip to content

guardian/interactive-election-polls-2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interactive-election2015-polls

Getting started

If you haven't already installed nodejs, grunt-cli and bower then go do that first.

Next, install all the dependency packages and start the app:

> npm install
> bower install
> grunt

You can now view the example project running at http://localhost:9000/

Installing additional libraries

If you need to use any additional libraries such as D3 or jquery then use:

bower install d3 --save

That will update the bower.json dependency file and allow requirejs to bundle the library into the main js.

You can then require the library directly into your code via the define function:

define(['d3', function(d3) {
  var chart = d3.box();
});

About

Tracking the UK election polls for 2015

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published