Hi!
It looks like the table on your example is the list of quantities per option. You may check the Dynamic Product Options extension for Magento 2.
It enables QTY on the option level. The extension also allows embedding your custom JavaScript into the form to build the table. On the other hand, the table is a very custom solution and requires a little of JavaScript experience to create. So if you need assistance please contact the ITORIS support at https://www.itoris.com.
Hope this helps!
Alex