This environment is not optimized for viewing on small or mobile devices. Please view on a larger browser for the best experience.

If you have any questions, please contact us.

Scatter Plot

A scatter plot shows the relationship between two sets of data, plotted on the X- and Y-axes. Bubble plots are scatter plots that show the relationship between three sets of data, the third as indicated by size of bubble.

Color may be added to either chart to categorize the data. This creates a fourth dimension in bubble charts, which greatly increases the complexity. When using this, make sure the additional categorization is necessary for users to make decisions and fully comprehend the data.

Types

Standard Scatter Plot

A scatter plot shows the relationship between two sets of data, plotted on the X- and Y-axes.

Large & Medium Snapshots (567px+)

Small & Extra Small Snapshots (<567px)

Small size recommendation
At a smaller size, scatter plots should be used to show general distribution of data, but not data for individual dots. The small size does not allow for hover. Recommend using only one category for best comprehension.

Scatter Plot Hover Behavior

Isolated Hover

When you want to zoom in on a single category, an isolated tooltip allows you to feature more data points for a single category. The other categories fade into the background on hover in order to focus attention on the single category.

Unselected Data Points(not hovered)
opacity: 30%

Bubble Plot

A bubble plot shows the relationship between three sets of data. Two sets of data are plotted on the X- and Y-axes, and the third (Z) set of data determines the size of the dot. Bubble plots should only be used when the main conclusion of the analysis will come from the third dimension (the third set of data).

Large & Medium Snapshots (567px+)

Small & Extra Small Snapshots (<567px)

Small size recommendation
At a smaller size, keep bubble plots to 3-5 bubbles maximum. Maintain labels at this size.

Bubble Hover Behavior

The bubble and its label are both triggers for the hover tooltip. Upon hover, the other bubbles recede into the background and crosshairs extend from the bubble to the axes.

Isolated Hover

When you want to zoom in on a single category, an isolated tooltip allows you to feature more data points for a single category. The other categories fade into the background on hover in order to focus attention on the single category.

Unselected Bubbles (not hovered)
opacity: 30%

Implementation

Bubble Sizing

Bubbles should be sized relatively according to area, not diameter. This ensures that bubbles have an accurate visual weight.

Bubbles that have a Z variable equal to zero should still have a visible surface area, because the X- and Y-values still need to be represented.

check-circleCorrect | X=A=πr2

times-circleIncorrect | X=A=2r

Defining Size

It’s important for your audience to understand the meaning of the bubble size. If you’re simply using size to show relative proportion, you can define the meaning with a thorough caption and by including the data point in the bubble label. If you need to codify the range of sizes, then define the sizes with a legend:

Scaled Sizing

Bubbles can be any size within a range. Legend should indicate type of data and endpoints of range.

Examples:

Discrete Sizing

Bubble size indicates a defined set of discrete values. Up to three sizes is recommended–do not use more than five.

Examples:

Plotting Negative Values

Your data may contain negative values that need to be indicated in your chart. Show negative X- and Y-values by adjusting the axes accordingly. Show negative Z-variables with an outlined circle.

Negative X- and Y-values
Negative Z-values

Accommodating Bubble Overlap

Inherent in the bubble plot is the possibility for overlapping data. Use these methods to ensure access to your data.

Z-index

Ensure that the smallest bubbles are at the front of the Z-index so users are able to hover over them. Bubbles that are entirely eclipsed by another have a hairline pointer connecting the label to the bubble.

Zoom

Providing zoom functionality allows users to zero in on a single area of the chart and make it larger so that they can get a better look at the data.

Filtering

Providing filters will allow users to look at a more select group of data, thereby decluttering the visual.

Specifications

Scatter Plot Specifications

Anatomy
1) Data Point
color: Categorical Palette
2) Unselected Data Point
opacity: 30%
3) Tooltip
See Global Elements page for tooltip specifications
4) Crosshairs
border: 1px dashed Navy
Size & Spacing

Bubble Plot Specifications

Anatomy
1) Bubble - Positive Value
border: 1px solid
fill-color: *data palette name* (Blue)
fill-opacity: 75%
2) Bubble - Negative Value
border: 1px solid
border-color: *data palette name* (Blue)
3) Inactive Bubble
fill-opacity: 20%
border: 1px 75%
border-color: *data palette name* (Blue)
4) Value Label
style: Data Label
color: Navy
5) Label Line
border: 1px solid Navy
6) Tooltip
See Global Elements page for tooltip specifications
7) Hover Crosshairs
border: 1px dotted Navy
8) Size Legend Measure Line
border: 1px solid Gray 01
9) Size Legend Numerals
font-face: Helvetica Now Text
font-weight: 400
font-size: 12px
line-height: 12px
color: Navy
10) Size Legend Label
font-face: Helvetica Now Text
font-weight: 400
font-size: 14px
line-height: 18px
bottom-margin: 12px
color: Gray 01
11) Container
background: White
border: 1px solid Gray 05
border-radius: 12px
Size & Spacing