add viewbox for d3 charts to allow resizing