Responsivly resizing fixed-width content (like d3 visualizations) is pretty messy. It's doubly so in React - components understanding their own DOM attribute makes them too smart and stateful for their own good. Fortunately, React presents a neat way to encapsulate this messiness through Higher-Order Components.