Configuring Charts

Standard Chart Creation

This guide will show you how to create charts, which make it easier for you to understand your performance data and quickly diagnose faults.

Different chart types may display some different features owing to the way they graphically represent data, but many chart configuration features work the same across all chart types. The following instructions apply across chart types, using a line chart as example. Charts with other or differing feature configurations are discussed at the end.

How to Create a Standard Chart

  1. Navigate to Connected Devices > Analytics from the side navigation bar.

    • You'll see the chart builder on the left and any pre-saved charts (called presets) on the right.

    Note: the chart builder defaults to showing all standard and advanced chart features. You can Hide advanced options at the bottom of the chart builder for simpler chart creation. This section explains how to use the standard features. See Advanced Chart Features to understand how to use advanced features.

  2. Select the Metric you wish to visualize from the dropdown.

    • You’ll see all the metrics for all the tests that are assigned to test schedules on your account.

    • With some metrics, you can further refine the metric parameters and/or add another metric below the initial metric selector (viewable with advanced options).

  3. In the Chart dropdown, select the type of chart you wish to create.

    • The following steps use a line chart to explain each feature.

  4. Select a Date range: choose one of the pre-defined options or customize the date range.

    • The predefined date ranges include:

      • Last 2 days

      • Last 7 days

      • Last 30 days

      • Last 6 months

    • Select the relative date range (Last n days) to show the last few days, weeks, months, or even years. You can save it as a preset (see Organization-Wide Chart Views to find out how), and it will always show the most recent data for the set time period. Presets work the same way for the predefined date ranges listed above.

    • Specify a Fixed date range to look at results during a specific window of time, not necessarily starting from today. You can narrow down the range even further to specific times. Saving as a preset means you’ll save that specific window; the preset won’t update to today’s date.

  5. Select your aggregation filter, located next to the Date range filter.

    • This is used to work out how much data is aggregated into each point on your chart (time is on the x-axis).

    • For example, an “Hourly” aggregation over the “Last 2 days” would display 48 points on your chart’s line, an average speed for each hour in your time range, whereas a “Daily” aggregation over the same period would display two points, one for the average of each day.

    Note: While most aggregations (“Hourly”, “Daily”, “Weekly”) will display time in order on the x-axis, others such as “Hour of Day” will show you the hour (e.g., 4 pm) on the x-axis and take all results between 4-5 pm in the date range specified. This allows you to analyze occurrences such as “the average hour” or “the average day”.

  6. Click Apply changes to load your chart on the right.

Graph Inspection

In most charts, graph inspection will show you all the raw data points forming an aggregate point, both as a scatter plot and as a table. The table includes a shortcut to view the Device Agent information by clicking the Unit ID.

To start graph inspection:

  1. Click any point on your graph.

    • This reveals a scatter plot and a table.

  2. Use the ‘Show / hide columns’ option to add or remove fields.

Data Tables

To see a table of all the points on your graph, select the Data Tables tab. Here, you can also view aggregate functions outside of what you're plotting on the chart, along with their average.

  1. Under the chart title, select the Data Tables tab.

  2. Click the Show / Hide Columns button to add or remove statistical functions on the same aggregate point.

Downloading a CSV

When viewing a chart, you may want to export the data it’s showing you to put it into other systems or share it with others. You can export data as a CSV file to do just that.

Note: Almost every chart type can be exported as a CSV. The exceptions are box plots and bar charts; for these, you can export a CDF plot or summary table instead, as they contain the same information as box plots and bar charts.

  1. Below the chart and legend, you’ll see a series of action options and icons. To export the data as a CSV file, click Download CSV.

    • The CSV file will export every statistically significant function available for every aggregate point on your chart, similar to viewing the data table with most options checked.

    Note: If you’re exporting larger amounts of data, it will be faster for you to use Connected Devices > Data Export. See Exporting Data.

  2. To export the chart as an image, click Download image. Note that Summary Tables cannot be exerted as images.

Advanced Chart Features

If not already done, click Show advanced options at the bottom of the chart builder to reveal more chart features that can help you better visualize, and make sense of, your data.

Filters and Splits

  1. Under the Date range feature, select any Filters to restrict the data shown on your chart.

    • For example, you might restrict your chart to only show three packages: BT 160, BT 300, and BT 500.

    • Use the Include/Exclude radio buttons to add or exclude as many items as you wish from the dropdown list. If there are tests/agents which have no value for your selected filter, they won’t ever be shown if you’re using an inclusion filter, but they cannot be excluded with an exclusion filter.

    • Depending on the filter chosen, such as “Technology”, the field may provide auto-completion of values once you start typing, in which case it will not allow invalid values to be used. Other filters, such as “Target”, allows you to enter free text. Just hit Enter after each entry. All entries must match exactly, and the filter is case sensitive.

    • There are also a variety of range filters. Range filters typically accept two inputs, usually an upper and lower bound. Some examples are the metric value filters and agent count and sample count filters.

    Note: Often, entering one value is enough. For example, if you enter 20 in the “range min” (left-hand) box, the chart filters down to results that are greater than, or equal, to 20. All values specified are included in ranges.

    Note: you can find a complete list of available filter types, such as those listed under Package/Product/Tier if you export the CSV from Connected Devices > Management Suite > Agents. Click Download export, then select Agent metadata. You will receive a link to a downloadable file by email. See Importing Metadata for more information.

  2. To view the prefilters applied to your chart, click the Show prefilters button under the Filter field, and hover over the “info” icon.

    • A pop-up appears listing the prefilters applied to your chart.

  3. To remove the prefilters, uncheck the Enable prefiltering box.

  4. Optionally, Split your data into groups. This means that data will be grouped into different chart features (such as lines, bars or scatter points) on your chart so you can compare them.

    • For example, if you split by “Package/Product/Tier”, you will see one line for each of the three BT products you filtered by, above.

Confidence Intervals

Confidence intervals are vital for drawing statistically valid conclusions and statements from data when sampling.

All our charts, when showing averages, only show you the average of the sample of your customers (the population) tested. So, whilst we can accurately tell you the average of the sample, what we cannot be sure about is the average of the population. This is what confidence intervals are for. They provide a range, and a confidence to that range, that if you had an average of the entire population of consumers/agents, the data would sit in that range. On line charts, confidence level ranges are shown as a colored area. Bar chart confidence levels display as error bars.

To add confidence ranges to your charts:

  1. Check the option below the chart type that says Show confidence intervals.

  2. Click the dropdown to select the confidence level you want displayed: 90%, 95%, or 99%.

    Note: The larger the sample (e.g., 1000 agents versus 100 agents), the narrower the confidence range will be. Also, the range will be wider the higher the confidence level you request (e.g., 99%).

Plotting Different Aggregate Functions

It can be useful on charts to plot other statistics than just the mean average.

  1. Above the Date range filter, select the Value to plot dropdown.

  2. Select the statistic you wish to chart against.

    • In a standard chart, you can only choose one value at a time. To find out how to plot multiple statistics on the same chart, such as both the 20th and 80th percentiles, see Multiple Data Series.

    • For example, selecting “Median” instead of “Mean” results in the chart below, all other things being equal.

Aggregating Agents

By default, our charts will always aggregate over all the test results but often it’s a requirement to aggregate by agents first.

When you aggregate by test, you see an overall average of all the test results in each data point (where a data point in a chart aggregated hourly would mean each hour) but if one agent reports more often than others, this could lead results to be skewed. In order to get around this, you can average all the results by one agent in each data point first, then take the average of those agents.

  1. Check the option below the chart type that says Aggregate by agent.

  2. Click Apply changes. The resulting chart appears below, all other things being equal.

Normalization

You can enable a feature called normalization when using time series line charts. This is useful when plotting results by hour, but where the test schedule does not run test results every hour across every agent. Without normalization, you could see a saw-toothing effect (as in the image below), with some hours having measurement agents with much better results than other hours.

Normalization forces the chart to look at the underlying test schedule for the metric in question, and to normalize results across the blocks of hours that the tests should run over. This results in an even number of measurement agents and results being represented for all hours of the day, thus removing the spikes in the charts and making it easier to see overall trends.

What actually happens behind the scenes for normalization is, after all filters have been applied, the chart will look at the test schedule of each individual unit. If a unit runs a download test once every 6 hours between 6 am and 6 pm for example, and runs two tests at 8.37 am and 2.37 pm, then it would duplicate the 8.37 am result into every hourly period between 6 am and 11 am, and duplicate the 2.37 pm result into every hourly period between 12 pm and 6 pm.

If you want to see accurate results on an hourly basis, disable normalization. If you want to make a graph easier to read and see trends, enable normalization.

You can enable or disable normalization in the chart builder under the Date range filter.

Notes:

  • Normalization can sometimes cause confusing results; for example, you may filter down to a single unit which tests once every six hours, but the graph shows a point every hour.

  • Normalization is only available on hourly, hour of day, two hourly, four hourly and six hourly aggregations.

Chart-Specific Feature Configuration

Bar Charts

Bar charts provide a quick way to compare the averages, or other values, of different data series. The y-axis shows the value being plotted, and the x-axis displays the data split that each bar represents.

For best results, enable Show Advanced Options to choose how you wish to split your data (see Filters and Splits). Additionally, under Value to plot, select an option in the Sort By dropdown and modify the order of the bars on the x-axis, either by the data series name or any statistical aggregation.

With all other features configured as in the line chart example, the bar chart will display as below.

Scatter Plots

Scatter plots allow you to explore your data in more depth than aggregate data.

Scatter plots displaying a lot of data can be slow to display, or even stall. Apply filters to select the data that you need, to improve build speed.

For scatter plots, an additional option appears to show a “regression line". This means the chart will generate the scatter plot, then if it notices a trend, it will draw a faint straight grey line to show you that trend (whether it be up, down, or straight).

Splitting is still available on scatter plots and will result in color coding your points according to the data series they belong to.

CDF Plots

CDF (Cumulative Distributed Function) plots show the cumulative distribution of measurement results. The shape of this curve allows you to identify patterns in the data (e.g., step changes indicate a clustering of results around certain values) and also to immediately recognize whether performance is normally distributed among users or not.

For CDF plots, an additional option appears to draw a “tail distribution”. A tail distribution inverts the CDF plot and shows you the percentage of users that received a certain value or higher, instead of the percentage that received the x-axis value or lower.

Box Plots

Box plots are useful for seeing the range of results, across the median, upper and lower quartiles, and the minimum and maximum of each data series.

As with bar charts, you are able to sort your data by name or statistical function.

Plotting on Tables

In addition to plotting your data as a visual chart, you can also create a summary table. Tables allow you to include additional aggregate functions. You can change the values of the columns inside a summary table (e.g. Mean to Median, or add more statistics (e.g., Mean and Median).

Add as many values to plot as you like by adding them to the Table columns selector and they will be shown as columns.

Multiple Data Series

Multiple data series lets you generate multiple lines (or statistics) on the same chart.

Creating a Multiple Data Series Chart

  1. Build your first data series using the chart builder, ensuring advanced options are on.

  2. Under the Split function, click Add another series (adds a new blank chart builder) or clone from current series (adds a new chart builder populated with the current selections).

    Note: If you want to use the same splits and filters as before but with additional metrics with the same units (e.g. both measured in ms), you can use the shortcut Add another metric button from within the same series instead.

  3. View the new chart builder display that adds a column on the left indicating which chart builder (and hence which series) you are in.

    • Each number represents a separate data series.

    • Add more data series by clicking the “+” button under the numbered series.

    • Remove data series by clicking Remove this series at the bottom of the relevant chart builder.

  4. Build your second data series (in our example, we’ll choose “Upload speed”).

Last updated