ECharts Boxplot Distribution

A boxplot (a.k.a. box-and-whisker) showing the distribution of a metric across multiple categories side-by-side. ECharts computes the five-number summary (min, Q1, median, Q3, max) via its `dataTool.prepareBoxplotData` helper from raw arrays, then renders each box with its whiske

Template details

  • chart
  • boxplot
  • distribution
  • statistics
  • echarts

When to use this template

This visualization clearly reveals the spread, central tendency, and outliers of a quantitative metric across distinct categories. Analysts use it to compare variations between groups, identify potential issues in specific segments, and understand the overall consistency of a process or outcome.

  • Datasets with one quantitative variable for distribution analysis.
  • Data grouped by one or more categorical variables for comparison.
  • When comparing the full distribution, not just means or medians, is critical.
  • Identifying skewness, spread, and potential outliers within groups.
  • Raw, unaggregated data suitable for statistical summary computation.
  • Moderate number of categories (e.g., 5-20) for effective side-by-side comparison.

Browse all Koan templates