Re:Observable Plot
by terpimost on Wednesday May 05, 2021 @08:34AM
(#27049078)
Awesome. Does it require access to the document/window or it can be used in React?
[ Parent
| on HN ]
Ok, I see it does use document since there is d3.create() is under the hood.
Re:Observable Plot
by tophtucker on Thursday May 06, 2021 @03:36PM
(#27068103)
Yup. There’s some discussion of this in this issue https://github.com/observablehq/plot/issues/359, which notes that the ~100 test plots in https://github.com/observablehq/plot/tree/main/test/plots are rendered by Node with JSDOM by https://github.com/observablehq/plot/blob/main/test/plot.js.