update d3viz for new local app architecture