Skip to main content
100%

Box Plot

✓ Published0🌍 Public
CCurran Kelleher
Last edited Feb 28, 2018
Created on Oct 6, 2015

This box plot visualizes the distribution of a numeric variable across categories, with each category represented by a box-and-whisker summary. The chart is built as a Chiasm plugin using D3, drawing from Mike Bostock’s Box Plots example. It computes quartiles (lower, median, upper) and whiskers from the data, rendering a box for the interquartile range, a center line for the median, and horizontal whisker lines. The x-axis is ordinal, mapped from unique values in a selected column, while the y-axis is linear and derived from the data’s extent. The visualization is configured through margins, column selections, and styling properties such as fill, stroke, and stroke width. The code integrates with the Chiasm reactive model, responding to changes in data, columns, and layout dimensions to keep the chart in sync.

AI-generated description

A Box Plot in Chiasm.

Draws from

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=1960550&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->
mit Licensed

Similar vizzes