Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master

AngularJS + D3.js = ♥

An example of how to write an AngularJS directive that uses the D3.js visualization library. I walk through building this app on my blog.

Running it

Github's Content Security Policy forbids making requests from file://, so you'll need to host the app locally. The easiest way to do this is to launch a simple python server from the directory:

python -m SimpleHTTPServer

If you want to host this application somewhere, note that you have to register the application so it can use the Github API:

Something went wrong with that request. Please try again.