Hi
I am not sure this is possible with offline charts where I can pre embed control (Kind of Slider ) or external control which can control the size of Bin after generating the chart,
I am aware this is possible with jupyter books but not with stand-alone offline HTML charts with .py implementation.