statsviz
statsviz copied to clipboard
[ui] Improve the scale of the Y axis of sizeClasses heatmap
We're currently using a linear Y axis, which makes low size classes difficulty visible, if not hidden.
linear (default):
log 10
Switching to a log 10
axis improves that, but makes the highest size classes barely visible.
log 10
axis is obtained by setting the axis type
to log
in Plotly.
layout: {
yaxis: {
title: 'size classes',
type: 'log',
},
},
log 2 ?
Using log 2
could help, but would require manual tick creation (see this plotly issue).
equal heights?
Another possibility is to give each bucket the same height, independently of the actual size class it represents. Doc
Fixed in #75