statsviz icon indicating copy to clipboard operation
statsviz copied to clipboard

[ui] Improve the scale of the Y axis of sizeClasses heatmap

Open arl opened this issue 2 years ago • 0 comments

We're currently using a linear Y axis, which makes low size classes difficulty visible, if not hidden.

linear (default):

image

log 10

Switching to a log 10 axis improves that, but makes the highest size classes barely visible. image

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

arl avatar Mar 30 '22 09:03 arl

Fixed in #75

arl avatar Sep 05 '22 11:09 arl