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 trial
Natalie Tan
25,519 PointsUsing Linear Scales in D3.js - different with version 4
Wanted to make a comment on this video (https://teamtreehouse.com/library/d3js/styling-and-scaling-with-data/using-linear-scales-in-d3js)
Trying to incorporate D3 into my project, and realised this video applies to version 3.
For anyone using version 4, and finding an error :
To create a linear scale with d3.js version 3 use d3.scale.linear()
and to create a linear scale with version 4 use d3.scaleLinear()
1 Answer
Natalie Tan
25,519 PointsContinued to find more differences throughout the videos.
Found a good resource: