Domain and Range

It can be confusing at first to remember which values domain and range map to. Ryan Legler helped me remember with the pneumonic, d for data, r for rems.

Scales

You can pass a pixel value to get the domain value by using scale.invert().