Thanks! But how can I get just the chart, not the code?
I just amended my question a good bit. There is an error in the console when I add this:
Runtime.load(notebook, (cell) => {
if (cell.name === "chart") {
return {
fulfilled: (value) => {
document.getElementById("chart").appendChild(value);
}
};
}
});