Strong correlation between electronic bonding network and critical temperature in hydrogen-based superconductors