Mapping data to marks and channels
A chart is built from marks, such as bars, lines or points, and visual channels, such as position, length, colour and size. Each variable in the data is assigned to a channel. A bar chart, for example, assigns a category to horizontal position and a number to bar length.
Readers judge some channels more accurately than others. Position along a common scale is usually read most precisely, length next, and area and colour shade less precisely. This is why bar charts are usually preferred over pie charts when exact comparison matters.
Choosing a chart for the question
The best chart depends on the question. A line chart suits change over time. A bar chart suits comparison between categories. A scatter plot shows the relationship between two numeric variables, and a histogram shows how values of one variable are spread.
Good charts also state their scales and labels clearly. Bar charts should usually start at zero, because bar length encodes the value. Line charts can use a different baseline, provided the axis is labelled.
Worked example: a small sales chart
Suppose a shop sells 40 units in January, 50 in February and 60 in March. The total is 40 + 50 + 60 = 150 units. The average is 150 / 3 = 50 units per month.
A line chart with month on the horizontal axis and units on the vertical axis shows a straight upward line. Each month rises by 10 units. The rise from January to March is 60 - 40 = 20 units, which is 20 / 40 = 50 percent growth.
If a bar chart started its axis at 30 instead of 0, the March bar would look three times as tall as January's (30 against 10 units of visible height). The true ratio is 60 / 40 = 1.5. This shows how a truncated axis distorts the message.
What dashboards add and where they are used
A dashboard places several charts and key figures on one screen, usually fed by a data pipeline or database that refreshes on a schedule. Filters let a reader narrow the view, for example to one region or month. Business teams use dashboards for sales and operations, hospitals for waiting times, and analysts for monitoring model performance.
Exploratory charts are also a routine step before modelling. Scatter plots and histograms reveal outliers, skew and clusters early.
Common misconceptions
Many people assume a more elaborate chart is more informative. In practice, extra decoration, three-dimensional effects and too many colours usually make values harder to read. A simple chart that answers one question is often better.
Another misconception is that a chart proves a cause. A rising line next to another rising line shows association only. A dashboard also shows only the measures chosen for it, so a poor choice of measures can mislead even when every chart is accurate.
Key terms
- Mark
- A graphical element, such as a bar, line segment or point, that represents data.
- Visual channel
- A visual property, such as position, length, colour or size, used to encode a variable.
- Dashboard
- A single screen combining charts and summary figures to monitor chosen measures.
- Scatter plot
- A chart that places points by two numeric variables to show their relationship.
- Histogram
- A chart of bar heights showing how many values fall into each interval of one variable.
- Truncated axis
- An axis that starts above zero, which can exaggerate differences in a bar chart.
