Closed eyaleizenberg closed 4 years ago
Try this snippet from the README:
const runtime = new Runtime();
const main = runtime.module(define, name => {
if (name === "chart") {
return new Inspector(document.body);
}
});
You can display multiple cells this way too, but you’ll need to give each of them a container element.
const runtime = new Runtime();
const main = runtime.module(define, name => {
if (name === "chart" || name === "legend") {
return new Inspector(document.querySelector(`#${name}`));
}
});
I am just starting out with Observablehq so sorry for the noob question. I started out locally modifying this example: https://observablehq.com/@d3/force-directed-graph
My question is, is there a way for me to hide the data part below the graph?