Scatter and bubble chart reference
You can use scatter and bubble charts to look for relationships between variables. These charts show your data as points or circles on a graph using X (left to right) and Y (top to bottom) axes. Scatter charts can include a trendline that shows how the variables in the chart are related.In this article:
Scatter and bubble charts in Data Studio
Scatter charts in Data Studio let you see the relationship between 2 metrics for up to 3 dimensions. For example, a scatter chart can show if there's a correlation between ad spend and conversion rate for a specific campaign, letting you answer questions such as "Do more expensive ads result in better conversions?"
Use a bubble chart to show data with 3 dimensions. It's similar to a scatter plot where the first 2 dimensions are the horizontal (X) and vertical (Y) coordinates, but it adds a 3rd dimension which is represented in the chart as the size of the bubble.
You can include a trendline that uses one of 3 different calculation types (linear, exponential, or polynomial - see below for an explanation of these types). The general direction of slope of the trendline shows the type of relationship ("correlation") between the variables: a slope upwards from left to right indicates a positive correlation. In other words, the more X, then the more Y. A slope downwards from upper left to lower right can mean a negative correlation: the more X, the less Y. Lack of slope can mean there is little or no correlation between the variables. Data points nearer the trendline are more closely correlated than those farther away from the line.
Scatter chart example
The scatter charts below give you 2 different views of the performance for a fictional online university. The left-hand chart compares the average course completion rate with the average activity rate (a measurement of how engaged the students were, in terms of forum posts, class activities completed, etc.) The linear trendline in this chart slopes upwards from left to right, indicating that there is a positive relationship between activity rate and completion rate. I.e., the more engaged the student, the more likely they are to complete the course.
The chart on the right compares the average student grade with the number of hours of homework for each course. The trendline in this chart slopes downwards from left to right, indicating there is a negative correlation between the metrics: the less homework assigned, the better the average grade.
The right hand chart also shows the presence of 2 outliers: the course in the bottom left had few hours of homework but also had a low average grade, while the course at the top of the graph had the highest amount of homework, yet still had close to a 3.0 grade average. (You might want to investigate your own chart outliers to see if you can discover why they don't fit the norm.)
Scatter chart examples showing trendlines and outliers
Scatter chart DATA tab properties
A data source provides the connection between the component and the underlying data set. Components in Data Studio currently can connect to a single data source.
|Date Range Dimension||(Optional) If available, a Date Range Dimension is used as the basis for limiting the date range of the chart.|
Dimensions provide the data series for your chart.
|Any available dimension||The dimension in a scatter chart provides the identifiers for your data points (e.g. course names from the Course Name dimensionin the examples above).|
Metrics provide the numeric scale and data series for the chart.
|Metric X||The X (horizontal) axis metric (e.g. Avg Grade in the right hand example above).|
|Metric Y||The Y (vertical) axis metric (e.g. Homework Hours in the right hand example above).|
|Bubble Size||Setting this causes the chart to display as a bubble chart. This metric determines the size of the data points.|
Default Date Range
The default date range property lets you set a timeframe for an individual chart. Learn more about working with dates and time.
This option only appears if you have a valid Date Range Dimension defined for the chart.
|Auto||Use the default date range determined by the chart's data source.|
|Custom||Lets you use the calendar widget to select a custom date range for the chart.|
|Date compare type||Displays comparison data for the selected time period.|
The filter property restricts the data displayed in the component by including or excluding the values you specify. Learn more about the filter property.
|Filter name||Click an existing filter to edit it. Mouse over the filter name and click X to delete it.|
|+Add a filter||Creates a new filter for the chart.|
Scatter chart STYLE tab properties
This section controls the appearance of the scatter chart data.
|Show data labels||Displays individual values for the data points in the series.|
|Bubble color||Sets the dimension to use for coloring the data points in your chart. When set to None, the bubbles display in a single color. Selecting a dimension causes the chart to display multiple colors.|
|Number of bubbles||Determines the number of data points to display. If the number of dimension values exceeds this number, only the top N values are shown.|
A trendline is a line superimposed on a chart revealing the overall direction of the data. Data Studio supports three types of trendlines: linear, polynomial, and exponential.
A linear trendline is the straight line that most closely approximates the data in the chart. (To be precise, it's the line that minimizes the sum of squared distances from every point to it.)
If your data is best explained by an exponential of the form eax+b, you can use an exponential trendline to show the direction of your data.
A polynomial trendline displays data directionality as a curved line. It can be useful for analyzing large, highly variable data series.
Options for setting the trendline color and weight appear when you select one of the above options.
These options determine the placement of the chart legend.
|None||No legend appears|
|Right||Legend appears on the right.|
|Bottom||Legend appears on the bottom.|
|Top||Legend appears on the top.|
|Alignment||Sets the alignment of the legend relative to the selected position.|
|Max lines||Sets the number of lines used by the legend. If the number of series requires more lines, overflow items can be displayed by clicking the < and > arrows.|
These options control the display of the chart axes titles and scales. A right Y-axis section appears when you have more than 1 metric in your chart.
|Show axes||Shows or hides the chart axes.|
|Reverse Y-Axis direction||Controls the vertical display of the Y-axis.|
|Reverse X-Axis direction||Controls the horizontal display of the X-axis.|
|Show axis title||Shows or hides the axis labels.|
|Axis min and max||Set minimum and maximum values for the Y-axes.|
|Custom tick interval||Controls the interval between axis ticks.|
|Log scale||Makes the Y-axis scale logarithmic.l|
These options control the look of the chart grid.
|Axis color||Sets the color of the x-axis line.|
|Grid color||Sets the color of the grid lines.|
|Chart background||Sets the color of the chart background.|
|Chart border color||Sets the color of the inner chart border.|
Background and Border
These options control the appearance of the chart background container.
|Background||Sets the chart background color.|
|Border Radius||Adds rounded borders to the chart background. When the radius is 0, the background shape has 90° corners. Border radius of 100° produces a circular shape.|
|Opacity||Sets the chart's opacity. 100% opacity completely hides objects behind the chart. 0% opacity makes the chart invisible.|
|Border Color||Sets the chart border color.|
|Border Weight||Sets the chart border line thickness.|
|Border Style||Sets the chart border line style.|
|Add border shadow||Adds a shadow to the chart lower and right borders.|