Use attr viewBox to keep chart on resizing