javascript - How to embbed data in d3 script? -


i'm looking @ this: http://bl.ocks.org/mbostock/4063550

i want embed json data inside script opposed using d3's internal function. tried variety of things assigning data var etc. doesn't seem work.

how do this, example in particular?

in general, assign contents of json variable, so:

var json = {...}; 

in case in particular, have here.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -