The d3.median function from d3