Customizing visualizations in your Shopify reports
When you access a report, the visualization displays data using default settings, including a set number of items and a single primary metric. You can customize these settings to display the data that's most relevant to your business.
Adjusting how many items are displayed can help you focus on top performers or get a broader view of your full dataset. You can also add multiple metrics to a single visualization to help you identify correlations between different aspects of your store's performance over time.
On this page
Customizing the number of items in visualizations
Visualizations display a default number of items for the primary dimension in the report. For example, the Total sales by product report displays up to 5 products in the default simple horizontal bar graph visualization.
Using the configuration panel, you can display a custom number of items when selecting a supported visualization type. The following visualization types don't support customizing the number of items in the visualization:
- Display metric
- List by metric
- Histogram (frequency)
- RFM Grid
- Funnel
This customization option is also available only when using at least 1 categorical dimension in your report, which are dimensions not associated with time, such as products, channels, or regions. For example, you can change the Total sales by product report's default bar graph to display the top 10 products instead of the top 5. However, the Total sales over time report doesn't have this customization option by default, because the default primary dimension is Day, which is a time-based dimension. To add the option to customize the number of items in the visualization to that report, you'd need to add a categorical dimension, such as Discount name or Product type, to the report.
To customize the number of items displayed in a visualization, in the Visualizations menu, you might need to deactivate the Show all items setting to display the options to adjust the number of items in the visualization.
Depending on the selected visualization type, you can adjust any of the following settings:
- Items shown: You can click the
+or-icons to add or subtract the displayed number of items in the visualization by 1. You can also click the number in the center to enter a specific value, and then click Apply to refresh the visualization. - Remaining items: You can select how you want to display all the remaining items that aren't included in the visualized set. You can choose from any of the following options:
- Hide: Select to hide the rows of data not included in the visualization from the data table. For example, if you choose to display only the top 3 products in a visualization, then you can hide all other products from the data table as well. The Summary and group total values still include data from the full dataset, but the excluded rows are omitted from the visualization and data table.
- Group: Select to group all items not included in your custom visualization set as a miscellaneous "Other" group, which applies to both the visualization and data table. This can be useful for focusing the visualization on your key contributors without completely excluding the data from the other items. For example, you can choose to display your top 3 products and group all other product sales as 1 extra "Other" item in your report. Grouping the remainder into "Other" applies only to the first 2 categorical dimensions. The report hides the remainder by default for any additional dimensions.
- List: Select to display all the remaining items as rows in the data table. For example, if you choose to display only the top 3 products in a visualization, then you can still include all other products in the data table.
- Ranking: When you select the option to Group or Hide remaining items, you can select the type of ranking system for the displayed dataset. This doesn't affect data sort order, and you must select Ascending or Descending sort order from the data table. You can choose ranking style from any of the following options:
- Top per group: Select to display the top number of items within each group. For example, when displaying the 3 top-selling products by week, this option displays the top 3 products per week, which can change from week to week, for all weeks included in the selected date range. So, Week 1 might display Product A, B, and C; Week 2 might display Product A, D, and E,; Week 3 might display Product D, C, and A, and so on.
- Top overall: Select to display the top overall items within the selected date range for each group. For example, when displaying the 3 top-selling products per week, this option displays the overall top 3 products for the selected date range of weeks, grouped by week. So, if over the selected date range, Products A, C, and D were the overall top-selling 3 items, then the report would display data for Product A and C for Week 1, data for Product A and D for Week 2, data for Product A and D for Week 3, and so on.
Some supported visualization types don't include certain customization settings because those customizations aren't supported by that type of visualization.
Additionally, the Remaining items and Ranking settings don't display when using a flat table. These settings also display only data for the first 2 categorical dimensions.
You can also use the ShopifyQL query editor to customize the TOP N value of the visualization and data table.
Displaying multiple metrics in visualizations
By default, the visualization for a report displays data from the primary metric that's selected in the configuration panel. However, you can select up to 4 total metrics to display in the report at the same time. Use the checkboxes in the Metrics menu to select which metrics to include in your visualization.
The only visualization types that support multiple metrics on a single report are the following types:
- Line: You can select up to 4 metrics to include in a report's visualization.
- Bar and line: You can select exactly 2 metrics to include in a report's visualization, with 1 metric being a line, and 1 metric being a bar.
- Scatter plot: You can select exactly 2 metrics to include in a report's visualization.
- Bubble chart: You can select exactly 3 metrics to include in a report's visualization.
- Radar: You can select up to 4 metrics to include in a report's visualization.
For example, if you have Gross sales as your primary metric, displayed over time with Day as the selected dimension, then the default visualization is a single line graph. If you add Orders, Sessions, and Total sales as additional metrics using the configuration panel, then you can select all 4 metrics to display in the line graph visualization, with each metric represented by a separate line in the visualization.
For line visualizations, comparison periods for metrics display only when you hover your cursor over the lines in the visualization. Comparison periods aren't supported for Bar and line visualizations.
Axis assignments for visualizations with multiple metrics
Line and Bar and line visualizations assign each selected metric to a Y-axis (left or right) based on what type of value the metric represents. Metrics that represent the same type of value share an axis. Metrics that represent different types of values are assigned to separate axes.
Refer to the following table for a list of the types of metric values that support multi-metric visualization:
| Metric value type | Example metrics with this value type |
|---|---|
| Average duration (seconds) |
|
| Count |
|
| Count ratio |
|
| Dates |
|
| Dimensionless score |
|
| Duration (days) |
|
| Duration (hours) |
|
| Duration (milliseconds) |
|
| Money average |
|
| Money total |
|
| Multiplier |
|
| Percentage or rate |
|
Some metric types aren't supported for Line and Bar and line multi-metric visualizations and aren't plottable on Y-axes. Unsupported metric types include the following types:
- Booleans (true/false flags), such as Customer cohorts monthly predictive is predictive.
- Distribution arrays, such as LCP distribution or FCP distribution histograms.
- IDs (identifier fields), such as Last updated campaign rule ID.
- Timestamps, such as Shop Campaign insights last updated at.
You can confirm which metrics are categorized as which types of metric value in Analytics data points (fields) reference.
For Line and Bar and line visualizations, you can have a maximum of 2 different types of values represented in a single visualization, as there are only 2 possible Y-axes, each on one side of the report's visualization.
For example, you add the following 5 metrics to a report: Total sales, Net sales, Orders, Conversion rate, and Gross margin. If you select Total sales and Net sales for visualization, then they're both assigned together on the left Y-axis, because they're both money total type metrics and can therefore share the same axis. If you also select Orders for visualization, then it's assigned to the right Y-axis, because the left axis is already in use by the 2 money-type metrics, and Orders is a count-type metric which requires a separate axis. Because both Y-axes are now in use, you can't also select Conversion rate or Gross margin for visualization because those represent a third type of metric (percentage or rate) and there's no available axes to display the data. Those 2 remaining metrics display only in the data table.
You could, however, choose to visualize Total sales, Net sales, Conversion rate and Gross margin as your 4 metrics and omit Orders from the visualization, because then only 2 metric types are represented (2 money totals and 2 percentage or rates) so both Y-axes can be assigned without issue. Your 4 selected metrics would display in the visualization and Orders would display only in the data table.
Displaying multiple metrics using 'Bar and line' visualizations
When displaying multiple metrics in a visualization, you can select a Bar and line visualization to display 2 metrics at one time, with 1 metric as the bar and 1 metric as the line. This type of visualization is useful for plotting volume alongside a rate, for example, Total sales as bars plotted with Conversion rate as a line.
To use a Bar and line visualization, your report must meet the following requirements:
- You must have exactly 2 metrics selected for visualization. You can't deselect metrics to be fewer than 2 when the visualization is Bar and line.
- You must have a time-based dimension selected (for example, Day, Week, or Month), and have it set as your first dimension in the configuration panel.
When you select a Bar and line visualization in the Visualization menu, the metrics displaying as each type of chart are indicated in the Metrics menu by the chart type's icon. You can change which metric displays as which type of chart by clicking the icon and selecting the chart type that you want to use. When the Bar and line visualization is selected, the comparison periods aren't included in the visualization.
Displaying multiple metrics using Scatter plot visualizations
A Scatter plot visualization displays 2 metrics as points on a chart. Each point represents a dimension value, such as a product, traffic source, or day. When your report includes multiple dimensions, each point represents a combination of dimension values, such as a product on a specific day. Scatter plots are useful when you want to compare how 2 metrics relate to each other, and identify clusters or outliers. For example, you can use a scatter plot to compare Gross sales and Net sales by product, or Sessions and Conversion rate by traffic source.
A Scatter plot visualization requires exactly 2 metrics selected for visualization.
When you select Scatter plot in the Visualization menu, the first selected metric is displayed on the vertical Y-axis, and the second selected metric is displayed on the horizontal X-axis.
Displaying multiple metrics using Bubble chart visualizations
A Bubble chart visualization displays 3 metrics as differently-sized points on a chart. Each point represents a dimension value, such as a product, traffic source, or day. When your report includes multiple dimensions, each point represents a combination of dimension values, such as a product on a specific day. Bubble charts are useful to weigh the relationship between 2 metrics against a third measure of scale or importance. For example, you can use a bubble chart to plot your products' gross sales on the x-axis, net sales on the y-axis, and bubble size showing how much was given away in discounts.
A Bubble chart visualization requires exactly 3 metrics selected for visualization.
When you select Bubble chart in the Visualization menu, the first selected metric is displayed on the vertical Y-axis, and the second selected metric is displayed on the horizontal X-axis, and the third represents the size of each bubble.
Displaying multiple metrics using Radar visualizations
A Radar visualization displays multiple metrics on a circular chart. Each value of the selected dimension is displayed as an axis, and each metric is drawn as a polygon connecting its values across those axes. Radar visualizations are useful when you want to compare overall performance across multiple metrics at the same time. For example, you can use a radar visualization to compare product categories by Average order value, Conversion rate, and Total sales.
To use a Radar visualization, your report must meet the following requirements:
- You must have at least 1 dimension selected. If your report includes multiple dimensions, then the visualization displays values from 1 dimension.
- You can select up to 4 metrics for visualization.
Radar visualizations can become more complex when your report includes many values for the displayed dimension. To focus the chart on fewer dimension values, customize the number of items in the visualization.
Displaying cumulative values in visualizations
When you display a metric over time, you can choose to display the metric as a running total instead of as individual values for each time period. This is called the cumulative view, and it makes it easier to track overall progress across a date range, such as how sales are building toward a monthly goal.
The cumulative view is available only for line, bar, and horizontal bar visualizations that include only a time-based dimension, such as Day, Week, or Month, with a supported metric.
To activate the cumulative view, in the Visualization menu, activate the Cumulative setting.
Supported metrics for the cumulative view
The cumulative view is available only for summable metrics, which are metrics that can be added together over time, such as Total sales, Orders, and Sessions. To check whether a specific metric supports the cumulative view, in the Metrics section of the configuration panel, hover your cursor over the metric's icon and check for the Cumulative available badge.
The cumulative view isn't available for the following types of metrics, because accumulating these values over time doesn't produce a meaningful result:
- Ratio-based metrics, such as Average order value or Pageviews per session.
- Percentage or rate metrics, such as Bounce rate or Conversion rate.
- Average or median duration metrics, such as Average session duration or Median hours order to fulfillment.
- Snapshot or point-in-time metrics, such as Ending inventory value or Starting inventory units.
Refer to the Analytics data points (fields) reference for the metric value type of each metric.
You can also use the cumulative view when including multiple metrics in a visualization at the same time. Each selected metric that supports the cumulative view displays as a running total in the visualization.
Using the cumulative view with data comparisons
You can use the cumulative view with any of the following comparison periods in a report:
- No comparison: The cumulative view displays your selected metric as a single line that grows from zero over the date range. This view is useful for understanding how a metric accumulates day by day.
- Comparison to past: Both the current period and the comparison period display as cumulative lines. This view is useful for comparing how this period's trajectory is tracking against the same period in the past, such as the previous year.
- Targets: Your cumulative actual values display alongside a diagonal pacing line from zero to the target value. This view is useful for understanding whether you're on pace to hit a target. Learn more about viewing target progress with the cumulative view.
Displaying annotations in visualizations
You can add annotations to reports that use a time dimension to help you analyze why changes in a metric occurred. Annotations are color-coded visual markers on a report's visualization at the dates when events occurred, such as a product being published, an app being installed, or a marketing campaign that you or your staff recorded.
You can display annotations using either the configuration panel or the annotations panel.
Learn more about using annotations in your Shopify reports.