Omniscope Custom Views › distribution

Distribution

Averages hide the story. See the whole shape of any number, with the median, percentiles, tail and outliers spelled out.

Bar visokio-agents

Open the demo in Omniscope Download demo.ioz Sample data: deliveries.csv Source on GitHub

Items tagged visokio-agents are community examples built by Visokio's agents, to extend Omniscope's core blocks and views with popular, specialist and more unusual use cases, and to show what anyone, people or agents, can build on Omniscope. They are tested by automated tests and were run on a real Omniscope server. They were not reviewed by Omniscope's core team, so they are not on a par with the core blocks and views, which have years of manual, functional and unit tests behind them. About

Averages hide the story. See the whole shape of any number, with the median, percentiles, tail and outliers spelled out.

Live: hours to deliver for 12,000 illustrative deliveries, with the median, mean and percentiles marked. Hover a bar for its share; click it to select those deliveries.

The problem it solves

"Average delivery time is 45 hours" says little about the customer whose parcel took four days. Service levels, prices and waiting times are about spread and tails: what most people get, what the unlucky 10% get, and how groups differ. A plain bar chart of a binned field gets part of the way, but the percentiles, the skew and the outliers have to be worked out separately.

The Distribution view puts them together. In the illustrative deliveries above, the median is 42 hours and the middle half of deliveries take 29 to 56 hours, but the tail is long: one in ten takes more than 72 hours. Comparing service levels shows two quite different shapes:

Live: the same deliveries compared by service level, as shares so the groups are comparable.

Where it earns its place

The examples below are illustrative.

Team Values Compare by
Logistics Hours to deliver Carrier, service, region
Customer service Time to resolve Channel, team
Sales Order value Segment, channel
Healthcare operations Waiting time Site, pathway
IT Response time Service, release

How to use it in Omniscope

  1. Bring the records into a workflow with the numeric field.
  2. Connect it to a Report block, add a view and choose Distribution.
  3. Set Values and optionally Compare by.
  4. Read the median, quartiles and P90 from the markers and the table.
  5. Click a bar to select the records in that range, for example the slowest deliveries.

Why do this in Omniscope

Data and options

One numeric field, optionally a group.

Option What it does
Values The numeric field
Compare by Optional groups
Bars Number of bars
Height Share or count
Trim the far tail Hide the extreme tail in the drawing
Values used Maximum records fetched

Tested

Hovering a bar
Hovering a bar
Running on the Omniscope server
Running on the Omniscope server

Reference

Fields it reads

NameTypeWhat it does
ValuesFIELDAny number, e.g. Hours to deliver, Order value, Age
Compare byFIELDOptional: one outline per group, e.g. Carrier (up to 6)

Options

NameTypeWhat it does
BarsNUMBERApproximate number of bars (default 40)
HeightCHOICEShares make groups of different sizes comparable
Trim the far tailTOGGLEDo not draw values beyond the upper outlier fence, so the main shape is visible (statistics still use every value)
Values usedNUMBERMaximum records fetched (default 500,000)

Third-party libraries