A responsive base class and mixins for d3.Chart