My only real criticism is the graph is not particularly clear. The cut off lines between the fee rates need to be more visible, and it would be better to use different colors for different fee bands like on
https://jochen-hoenicke.de/queue/#1,8h to make it easier to read.
This can be done, I will try to make a gradient color. But I particularly don't like those colorful graphics.
I will take a look at those colors.
It would also be nice to still display the 1 Block cut off line at the bottom even when it is predicted that all the current unconfirmed transactions would be included in the next block.
I am not sure if I got this. The theorical 1 MB size block should be at top, because transaction with higher fee rate are more likely to be included than those 1 sat/byte tx.
My graphic is making a line at 1 vMB (or 4 M Weight Units), which is the block size. From the top to the bottom.
I'd also include the line you have written above about the transaction size not being entirely accurate, particularly for P2SH/P2WSH addresses given the script size can be much larger than the size you use in your calculations.
The line is accurate. The line shows your transaction fee rate, not the transaction size. So, even if the size was wrong, the line would be the same.
However, The calculations are very precise for P2SH/P2WSH addresses.
I made tests here:
It is working very well now. Let's see those last P2SH transactions that I was having problems. Using blockstream as nc50lc suggested:
Summary:
1 - calculated 247 x real 247
https://blockstream.info/tx/d19e0257c3e37cb805d99a715568137c2553bbb25ee23d66ebcb1f4a2ac7d6522 - calculated 1254 x real 1257
https://blockstream.info/tx/4e313920ff45fb6be3866875c249e502159372afd46c081f320371114045619d3 - calculated 346 x real 346
https://blockstream.info/tx/773f472b3806a9e8b51b9406a9080fb4ae015b28814f5ecb6ce6a3d5a47818e0?expand3 is a case of mixed formats and it is still 100% precise.
It is like 95% accurate or even more..
.
The "fee per byte" becomes very laggy when you change it (probably) because of the graph on the side re-rendering every time. If I type 3 digits, it freezes the page for a few seconds before responding to my keystrokes. I looks worse on Edge (based on Chrominium).
I will take a look at this, but I am not experiencing that.
It is very smooth here, specialluy in Edge.
Are you using Linux, Ios?
Edit: I looked more carefully and it is really re rendering. Maybe i didn't notice it laggy due to some config. But it is really lagging a bit in firefox. I will try to work on this.