Re:Observable 2.0, a static site generator for data apps
by recifs on Friday February 16, 2024 @02:55AM
(#39394372)
You can still use D3 the good old-fashioned way, as a standalone script. See https://d3js.org/getting-started#d3-in-vanilla-html for examples.
Re:Observable 2.0, a static site generator for data apps
by meowtimemania on Friday February 16, 2024 @02:02AM
(#39394076)
@observablehq/plot is what you're looking for if you want to have the same charts loaded via a script tag.
https://observablehq.com/plot/getting-started#plot-in-vanill...
Yeah Observable data pages look cool, but it really feels like excessive JS bloat for the features.
I think I miss throwing a D3 viz together without having to load an entire framework library.