emeeks
This is the code for Chapter 4, Figure 4 from D3.js in Action showing how to create a scatterplot using scales and d3.extent() to calculate min and max values for data.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js