embed a function from a notebook into static html page - and use

I really like these tables https://beta.observablehq.com/@tmcw/tables and would like to embed and use the table function in an html page. I am able to embed the notebook but how to do I access the table cell and it use as a function in my webpage? I can get the cell, it’s using it as a function (that I can load my data into) I’m having trouble with. Thanks