Star

Box charts are slightly different than other axis chart types such as line and area charts. If we configure them the same way as a line chart then the boxes will overflow off of the plane. This is usually undesirable, so there are a couple ways to get around this.

  1. Using Domain Padding

  2. This is the preferred method to fix overflowing box plots. Here we set a linear padding on both axes.

    JS
    HTML
    CSS