Exploring mourner/quickselect as a faster alternative to compute d3.median()
d3.median()
Note: a better alternative is probably simplestatistics.
See d3 issue #1833.