Tuesday 15 February 2011

javascript - d3 tree diagram animation/transition -



javascript - d3 tree diagram animation/transition -

i'm new d3 , struggling tree map/diagram. i've created using hard-coded array , works map rendered on screen 1 node @ time, 1 first-class one:

http://bl.ocks.org/mbostock/999346

i'm pretty sure need looping through info array somehow rather dumping of nodes svg placeholder @ 1 time i'm struggling how this. or maybe transition need? here's i've got far (apologies commented-out stabs-in-the-dark , general noobieness):

http://embed.plnkr.co/qewezpvtutcjsiw0rkwp/preview

javascript d3.js treemap

No comments:

Post a Comment