Distributions
The bars group Seattle’s 1,461 daily high temperatures from 2012 through 2015. Adjust Bins to change the groups or Bandwidth to change how much the orange density curve smooths the observations. NOAA data via Vega Datasets
Choose a plot
| Use | To show |
|---|---|
Scatter, LinePlot | Individual points or a connected series. |
AreaPlot, BandPlot | The area below a series or between its low and high values. |
BoxPlot, BoxSummary(values) | A distribution summarized by quartiles. |
Histogram, DensityPlot, NormalCurve, ECDFPlot | Bins, a smoothed estimate, a normal model, or cumulative observations. |
Axis, Grid, Legend | Ticks, grid lines, and labels. |
LinearScale maps a data domain to a coordinate range. Use DataRange(values) to get a domain from the data. Pass lists directly, use a typed SQL query, or convert a DataFrame with df.select(["x", "y"]).to_list().