Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialUnsubscribed User
48,988 PointsArray within array.
If i let the array in the array in the json file remain from the previous video, it shows an error message in the console, when removed everything is ok. Using jsonRequest.html file. Does d3.js doesn't except arrays within an array ?
Thanks
1 Answer
Edmunds Sulzanoks
6,298 PointsGenerally speking, it does. TheΕe's probably some syntax error. It is difficult to identify the error, but my wildests guess would be that you have a coma separator after the last item in array. PHP, most browsers and jQuery tolerate it, but in D3 that causes error.