Graphviz can be ported to JS, I found an example although I didn't try it.
GraphViz in the browser was made possible by `emscripten`, which is essentially a JavaScript compiler target. In that sense, there's not a implementation in a language besides C++ that's gotten much traction.