well done and the code makes sense! it only remains to package the result nicely as kind of an app, then improve the design, usability and interaction as you find appropriate for the time you have remaining
1. see an example here how you can combine multiple cells into one using HTL
(click on the donut slices to see that the views are connected)
https://observablehq.com/@angiehjort/sp2023-coursemunk
the interesting bit is the "htl.html"
see documentation for HTL here:
https://observablehq.com/@observablehq/htl
2. then press kebab menu on that cell and pick "Embed" as iframe
you can then embed it into any other webpage like so:
https://jsfiddle.net/w7ez0rcb/
For example create an empty-page website using free github pages and throw it in there
* * *
Keep fixing the Tableau prototype too! maybe add a link to that here as well