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 trialJohnny Lopez
Courses Plus Student 97 Pointsthere is a problem with this video. I follow everything and doens't work.
I have seen similar questions but nothing seems to work
1 Answer
Stephen Emery
14,384 PointsFirst off, this video needs to be redone.
Second, you'll be able to see the array with viz.selectAll('circle'). Skip any futher instaces of this code: viz.selectAll('circle').data(data) .enter().append('circle');
The best way is to just run: 'dots' in the console.
The video breaks just after this point. So go into the dataBinding.html and copy these lines into the console and run them 1 by 1: dots.attr('r', function(d) {return d.TMAX}); dots.attr('r', function(d) {return Math.abs(d.TMAX)}); dots.attr('r', function(d) {return Math.abs(d.TMAX) / 100});
That should at least get you through the video.