Histogram
Histogram for the distribution of one continuous variable.
Use a histogram to see the shape of one continuous variable, such as durations or sizes.
Build durations (seconds)
This chart cannot be displayed here: it needs JavaScript and WebGL.
13 observations in 5 intervals
The same chart in each style
Source
```chart
type: histogram
title: Build durations (seconds)
data:
inline:
- { duration: 42 }
- { duration: 48 }
- { duration: 55 }
- { duration: 58 }
- { duration: 61 }
- { duration: 63 }
- { duration: 66 }
- { duration: 71 }
- { duration: 73 }
- { duration: 78 }
- { duration: 89 }
- { duration: 94 }
- { duration: 112 }
encoding: { x: duration }
```
Fields that matter
type: histogramwithencoding.xas the numeric observation fieldbinning.countsets 1 to 256 equal-width bins; the default is Sturgesbinning.extentlimits the range;binning.edgessets explicit boundariesbinning.measureiscount(default),proportionordensityencoding.colorstacks groups within each bin andencoding.facetsplits panelsencoding.yis not supported; the engine calculates the measure
Interactions
- Hover or focus a bin to read its range and measure.
- Click a legend entry to toggle a group when colors are used.
- Open the Table view, Download PNG or CSV, or Expand the chart.