Density

Kernel-smoothed distribution. What the density is for, the data it needs and every option it has.

2 min read

On this page

Kernel-smoothed distribution. It sits in the Distribution group of the widget library.

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

When to use it#

Use a density chart to see the shape of one number field as a smooth curve: where most values sit, and whether there are two peaks or a long tail. For example, look at the size of all your card transactions to see that most are under $50 with a thin tail of large purchases. You can overlay up to three groups.

When to pick something else#

  • Readers need exact counts per range? Use a Histogram.
  • Comparing more than three groups? Use a Ridgeline or Violin.
  • Want medians and quartiles side by side? Use a Box plot.

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
ValueYesa number

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

Density options#

This chart has no options of its own; everything on its Style tab is the shared chart styling below.

Shared chart styling#

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

Messy data#

  • Blank or non-numeric values are skipped. With none left you see "No numbers to show".
  • At most three curves are drawn: the two groups with the most values, plus "Other" for the rest.
  • The height axis is hidden by default because raw density numbers mean little. Hover to see how many values sit nearby.
  • The curve runs a little past your smallest and largest values so it tapers off, which can suggest values just outside your real range.

On a phone#

A single curve reads well at full phone width. With several groups the legend takes a row and the see-through fills overlap, which is harder to tell apart on a small screen, so keep it to one or two groups.

Use this page with your AI assistant

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