pub fn log_bin_key(x: f64) -> i32
Key of the log10(x+1) histogram bin holding x: round(10 * log10(x + 1)), so bins are a tenth of a decade wide.
x
round(10 * log10(x + 1))