This is not a ready-made graphviz replacement but d3.js is a library that can do various layouts from given data and would be a great platform to implement graphviz on.
Here's an example of force-directed layouts which is one form of what graphviz does.
Here's a speech about layouts with insanely awesome interactive slides.
To get to know the project, the tutorials are very good.