set chart page up for d3