d3 analysis in its own window