CSS calc() vertical position for histogram.
Looking better, but still too slow for practical use.