Trends: Choosing the Right Chart for Your Data
A well-designed data visualization enables you to see patterns, trends, and outliers that would have been difficult, if not impossible, to piece together otherwise. Choosing the right chart type, colors, and thresholds can really make the difference between a successful visualization and one that leaves the audience confused.When selecting the right type of visualization for your data, it’s important to take into consideration the volume of data, the variable type (such as a string vs. numeric), who will be viewing the data, and most importantly, the question you are attempting to answer through the visualization.Trends uses panels to display charts and provides the ability to customize chart type, date or date range, color scheme, rule-based thresholds, and text. There are four chart types to choose from:
Bar
A bar chart is a great way to compare two or more values for a single period of time. Comparing running applications or browser versions are two examples that would be well suited for a bar chart.
Donut
The donut chart is useful when you want to visualize a value as parts of the whole, usually in the form of percentages, for a single period of time. However, the more values you have, the more difficult it becomes to read. The number of values to be displayed can be decreased, as long as it doesn’t interfere with the story you are trying to tell. If there are several parts of the donut that are similar in size, you may want or consider using a bar chart to better illustrate the data. A few examples that would be well represented by a donut chart are disk encryption status, displaying the percentage of endpoints running a specific operating system, and anything represented by “true” or “false”, “yes” or “no”, etc.
Line
Line charts are useful when trending one or more values over a period of time. Each dot represents the value for a particular period of time and is connected by a continuous line, enhancing the ability to see trends over time. Monitoring software deployments or the number of clients online are both good examples for using a line chart.
Stacked Area
Use the stacked area chart when you want to visualize values as parts of the whole, trending over a period of time. Choosing proper chart colors is paramount when using this type of chart. Too many similar colors will muddle the results making it difficult to understand. You might want to consider a stacked area chart for monitoring the deployment of a package or patch over time.The line chart listed above contains the same values as the stacked area chart provided below. Although the values are the same, the representation of the data is vastly different. If you are debating on whether or not to use a line chart vs. a stacked area chart, viewing the data in both formats before making a final decision is recommended.
Color
When designing a data visualization, color can make a significant difference in how quickly the audience can understand the story that is being told.Consider the following charts, for example. With the exception of color, they are identical. Both charts depict the same percentages of patch compliance for the WannaCry vulnerability, however, one is more effective at grabbing our attention.
A person with zero knowledge of the WannaCry vulnerability could quickly assess an unfavorable state when analyzing the second chart. This is due to the fact that green, yellow, and red are universally recognized as status indicators.Another way of indicating an unfavorable status within a Trends panel is to configure rule-based, conditional formatting to modify the background color of the chart when it hits a specified threshold.In the following example, when the critical value becomes greater than 2000, the background of the panel will turn red. This is a very effective means of quickly drawing attention to an issue.
Choosing the Right Chart for Trends
The following flowchart is a good starting point for designing a Trends panel. However, it is not a “one size fits all”. If the panel doesn’t tell the right story, keep experimenting until it does.
Additional Resources
Chart Options in Trends:Reference: Chart options in Trends (tanium.com)
Trends User Guide:Trends overview (tanium.com)