Skip to content

Instantly share code, notes, and snippets.

@alexandersimoes
Created November 17, 2013 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexandersimoes/7518802 to your computer and use it in GitHub Desktop.
Save alexandersimoes/7518802 to your computer and use it in GitHub Desktop.
// Update the nesting of our visuzliation via the depth method.
// We initialized our visualization's depth to 0 (artists), so
// now we can update this to 1 to see albums.
viz = viz.depth(1)
// We now to recall the viz function on our container DOM element.
d3.select("#viz").call(viz);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment