Loading d3 and nvd3

First, let’s load d3.js and nvd3.js:

[d3, nv]

Importing code from a gist

Now, let’s import our code from a gist:

The resulting graph

And here is the result:

Interactivity

Now, feel free to modify the code and see the graphs updating as you type.