D3 Scales Part Two
  Duration: 18:35
Part of Course: Introductory D3 Course
This Lesson is for subscribers

D3-scales-part-two_280x158
Unlock this lesson NOW!
  • Get expert advice on D3 Scales Part Two
  • Enjoy access to the complete DashingD3js catalog
  • Start mastering D3.js right now!

Takeaways:

  • D3 provides three types of scale functions that map an input domain to an output range - Quantitative Scales, Ordinal Scales, and Time scales
  • The best way to think about the domain and range is that the left most point of the defined domain goes to the left most point of the defined range and the right most point of the defined domain goes to the right most point of the defined range
  • D3 Scales are functions
  • The D3 Scale function assumes that when you pass it an argument, that you are passing it a value from the domain and are expecting a value from the range in return
  • By setting the domain and scale of a D3 Scale function, you can use it later to do conversions as you need

Resources:
This Transcript is for subscribers.

D3-scales-part-two_280x158
Unlock this D3 Tutorial NOW!
  • Get expert advice on D3 Scales Part Two
  • Enjoy access to the complete DashingD3js catalog
  • Start mastering D3.js right now!
<< Back To D3 Screencast and Written Tutorials Index