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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -