Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Box Plot

Public visualization

Viewing a saved revision (read-only)

ff8a188e990943a48de47274b03b0bed

Box Plot

0 stars0🌍 Public
WWaseem Medhat
Last edited Dec 12, 2020
Created on Dec 12, 2020

This example displays a horizontal box plot summarizing the distribution of age values from a hepatitis C patient dataset. The chart shows the minimum, first quartile, median, mean, and maximum as colored lines and a rectangle, with whiskers extending to the full data range rather than using the 1.5 IQR rule. Built with React and D3 v6, it computes statistics using d3.min, d3.max, d3.quantile, and d3.mean, scales the x-axis with d3.scaleLinear, and renders SVG elements through reusable AxisBottom and BoxPlot components.

AI-generated description

Visualizing the five number summary of a single continuous variable.

Note: this boxplot does not use the 1.5 IQR rule. The whiskers always extend to the minimum and maximum of the data.