The current quantile scale takes all the input values as the domain to map the output range. But if the data is extremely large, I want the processing to happen on the server giving me the quartile values.
So I get:
var quartiles=[5, 10, 15, 20, 25, 30, 35, 40, 45]; // 9 values with the mean (25) at the middle and standard deviations to each side
var valueToMark = 37;
Using d3, how do I correctly create a quantile scale and mark them all on a line given only the quantiles and value to mark?
p.s. my knowledge of quantiles/quartiles is limited, therefore I would be grateful if I'm also corrected on any wrong assumptions I've exhibited here.