Then we use the appendChild() function from the 'DOM' package to send the plot to the browser.