Re-render the result graphs when the available space changes. Use a ResizeObserver to detect when the graph container changes size, and use it to re-render the D3 graph. Addresses https://github.com/WebKit/MotionMark/issues/114
MotionMark is a graphics benchmark to measure the performance of graphics operations on the web.