A sparkline is tiny chart that helps represent trends and variations associated with a measurement—such as average temperature or stock market activity—in a simple, lightweight, and condensed manner.
There are five types of sparklines (line, column, area, win-loss, and pie) used to show data trends.
A line sparkline is used to represent patterns and trends in data, such as seasonal effects, large changes, and turning points over a period of time.
An area sparkline is a line sparkline with the area between its points colored. This is primarily used when the magnitude of the trend is to be communicated rather than individual data values.
A column sparkline is designed to show different values of two or more subjects; vertical bars can be used to represent the different values.
A win-loss sparkline is used to show if each value is positive, negative, or zero to visualize win/loss scenarios such as results in games.
A pie sparkline is a circular graph that is divided into slices to illustrate numeric proportions.
Plot any type of data in the sparkline with the help of different axes types like numeric, category, and date-time.
An axis of a sparkline can be configured and customized to show the origin and range of the data points.
The color of special data points, such as first, last, high, low, and negative points, can be highlighted and customized to denote the data usage.
The marker highlights data points in line and area sparklines and makes these sparklines more readable.
Data labels are used to display the values of data points to improve readability.
The sparkline provides options to display details about the data point values through a tooltip when hovering the mouse over the data point.
The track line tracks the data points that are closer to the mouse position or touch contact.
Highlight a particular region in a sparkline using range band to show the range of safe values. By setting the minimum and maximum ranges for range band, the outliers can be easily identified.