Hacker News new | ask | show | jobs
by tetris11 852 days ago
I miss source loading D3 into a simple HTML page, and having D3 tutorials that were up to spec with the latest D3 release.

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.

2 comments

@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...

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.