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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -