I was trying to create a webpage where upon clicking a button, a separate browser tab would and display graphical data. I am using react, and am using React DOM to create a port