How to create a button that switches pricin-table between anual & montly prices?

I would love to create pricing table with GB to provide a typical toggle switch.

Could you please teach me how to do this?

Thank you in advance and kind regards,
Sascha