take d3 reading out of init()