468060 (96) [Avatar] Offline

More confusion between JSON and JavaScript objects.

According to the official documentation, d3.hierarchy() needs a JavaScript object, but not necessarily a JSON one, as claimed in the text (top of page).

The example at the bottom of the page shows a JavaScript object rather than a JSON one.
elijah.meeks (127) [Avatar] Offline
You're right, I was very sloppy with how I mixed JSON and js objects. This was corrected in the final edition.