Check out a free preview of the full Interactive Data Visualization with D3.js course:
The "Quantitative Scales" Lesson is part of the full, Interactive Data Visualization with D3.js course featured in this preview video. Here's what you'd learn in this lesson:

D3 contains helper methods like scale() that will preform mathematical operations on the dataset allowing the data to be scaled into a physical range. For example, taking a dataset consisting of values between 0-3000 and displaying them in a 500 pixel area.

Get Unlimited Access Now