Here's the most convenient way I've found. It's based off viz.js, a project that Mike Daines (@mdaines) started which uses enscripten to compile graphviz to javascript. Mike archived that repo, but Antoine du Hamel forked it, wasm'd it, and publish...
pcj.hashnode.dev2 min readNo responses yet.