The d3.json call is asynchronous, so the data is not available when you try to bind it to the dom.
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
There is a lot of weird things in your code. Can you share it all as a Gist? You can't use a nested object as argument to d3.extent or d3.max, for example.
--