update d3
Revert "update d3"

This reverts commit c8f7e963026bdb5d96f61d30744d6e396353917e.
fixed visualizer across browsers