Histogram

Distribution of one measure. What the histogram is for, the data it needs and every option it has.

4 min read

On this page

Distribution of one measure. It sits in the Distribution group of the widget library.

Example histogram on a BankSync dashboard
An example histogram drawn with sample data. Hover for values and switch between examples.

When to use it#

Use a histogram to see how a set of amounts is spread out: how big your transactions usually are, how many purchases fall under $20, or whether a few large invoices dominate. It counts rows into ranges, so feed it individual transactions rather than totals.

When to pick something else#

  • Want a smooth outline of the spread? Use a Density chart.
  • Comparing the spread across a few groups, such as accounts? Use a Box plot or Violin.
  • Comparing totals per category? Use a Column chart.

The data it needs#

Pick these in the Data tab of the inspector. BankSync suggests a column for each when your source has an obvious match.

FieldNeededPickNotes
X axisYesa date or a category or a number
Y axisYesa numberYou can pick several.
SeriesOptionala category
ColorOptionala category

Each row is drawn as it is, so shape the rows first if you need totals. See Shaping data.

Histogram options#

Set these on the Style tab of the inspector. "Automatic" means BankSync picks a value from the chart's size and data.

OptionWhat it doesValuesNew charts start with
Number of binsHow many ranges the values are split into. At the default, the count follows the chart width.Whole number, 0 to 900719925474099120
Show as shareShow each bar as a share of all rows instead of a raw count.On or offOff
Bin widthMake every bin this wide, in the units of the data. Overrides the number of bins.Number, 0 or moreAutomatic
Bar corner radiusRounds the ends of the bars, in pixels. 0 keeps them square.Number, 0 or moreAutomatic
CumulativeEach bar adds up everything to its left, so the last bar holds all rows.On or offAutomatic

Needs history#

Show a note instead of the chart until the rows cover enough periods, so a first week never reads as a trend.

OptionWhat it doesValuesNew charts start with
Date fieldThe date column whose distinct periods are counted.TextAutomatic
PeriodWhat counts as one period: a day, week, month, quarter or year.Day, Week, Month, Quarter, YearAutomatic
Periods neededHow many distinct periods the rows must cover before the chart draws (2 to 60).Whole number, 2 to 60Automatic
Waiting messageShown until there is enough history. Leave empty for a message naming the periods.Text, up to 120 charactersAutomatic

Shared chart styling#

Every chart also has the shared styling options. These apply to this one:

Messy data#

  • Blank and non-numeric values are ignored; if nothing is left it shows "No numbers to show".
  • If every value is the same, it draws a single bin around it.
  • The number of bins follows the chart width (between 5 and 30) unless you set a bin count or bin width.
  • Negative amounts are binned like any other, so outflows recorded as negatives sit left of zero. Filter to one direction first.
  • One very large transaction stretches the axis and squeezes everything else into a few bins; filter out outliers or set a bin width.

On a phone#

At phone width it automatically uses fewer, wider bins, so the shape stays readable. Counts on the axis stay whole numbers.

Use this page with your AI assistant

Every BankSync doc is available as plain Markdown for agents and LLMs.