I am accessing the following sample page on observablehq. Force directed graph At the moment the page colors node based on group. I am struggling to do the following: colorfill (with a specific colour) a node (or all nodes) based on a value of the node Any help? Thanks Answer The group accessor allows you to access each node, in
Tag: observablehq
How to render the same input element in more cells in ObservableHQ
Let’s say I have the following checkbox element in Observablehq: I want to render the same element in more distinct cells along a notebook and I want to synchronize all their selections. Is there a way to do that? Answer It looks like you’re using Jeremy Ashkenas’s venerable inputs library. There’s a newer official Inputs library, which is already included