(this is for an open source project and not school, but posting here because seems like a question that a school student should be able to answer)
I have a histogram with 15 bins containing the frequency of game tick times in a range of 0~1, and I turned it into a time-series chart where Y is the time bucket, X is time and the color represents the density/frequency/percentage of ticks in that specific bucket (image below), but the issue is that the chart is too complicated for the average user, so my solution would be to draw line charts with like q75 and q99, so it would be way easier for them to interpret (like goes up = bad).
What i mean by that is that is that given a distribution (like post's example histogram), i want to find the point (0~15) where 50, 75 and 99% of the total is to the left of it.
I'm using d3.js to plot the chart and i know i can basically just fill in a array with like freq*10000 to each bucket and use the quantile function, but this seems so inefficient.
https://media.discordapp.net/attachments/1009829504396562514/1010172055561457784/unknown.png