Tag Archives: Charts

Mini Charts Part 2: Sparklines Usage scenarios

In the previous article , we have explored a new kind of mini chart called Sparklines.  In this article, we will explore when and where to use Sparklines to quickly identify trends,  compare data visually and much more…

Quick Recap: Sparklines are mini charts drawn in a single cell based upon data from multiple cells. It is an easy yet effective way of comparing data.

Financial statements

Typical financial statements show data in reverse order. Current year first followed by past years.

image

You have to read each number from right to left and then compare them mentally to form a pattern. Then we read each row and try to correlate it with other rows.

Now see the same data with Sparklines.

Financial statement with Sparklines

Problem: Chart is visually in reverse order

Look at the Operating Income. At the first glance it looks as though it is decreasing over time. But in reality, it is increasing over time – data is in reverse order.

To avoid this visual confusion, choose the Sparkline Tools –
Axis options – Plot from right to left. Problem solved.

image

Comparing Quotations, Specifications, Scores

Any kind of comparison can be performed visually using Sparklines as long as the data is numeric.

Visual comparison with Sparklines

Notice how it helps you see a clear difference across the models without reading the numbers. It highlights the winner clearly and without ambiguity.

How does it happen? Because it takes the minimum value across the row as the beginning of the axis. Usually all bar charts start with zero. However in this case, the Power bar chart is starting at 177. Therefore the smaller value becomes visually insignificant.

Due to this visual contrast, it is easier to interpret the information. Of course, remember that this may lead you to underestimate actual values. If you want true to life representation of proportions, traditional charts are better.

Mini Charts: New method of visualizing data

The need

Visual data analysis usually means charts.  There are some limitations of using charts.

  • In some cases, traditional charts don’t work well. Primary and secondary Y axis allows two different scales of data to be shown visually. But more than three scales are impossible to plot.
  • Chart is a separate layer and needs to handled separately.
  • Charts occupy lot of space because there are so many elements to be shown like gridlines, axes, labels and so on.
  • If you try to reduce the chart size, the pattern gets flattened and difficult to interpret.

Visualize data with Mini Charts (Excel 2010 or above)

Fortunately, there is a new way of data visualization available in Excel (since Version 2010) – Mini charts.  Sparkline is a type of mini chart that is drawn in a single cell based upon data from multiple cells. Select one or more blank cells. Choose Insert Sparklines – Line. Select the input data. Click OK.

image

image

image

image

You can apply this to multiple rows or columns. Make sure you select the data correctly.

If you use this in a table, when more data is added to the table, new Sparkline will be automatically added. You can also increase the Sparkline by dragging it from the corner – just like formulas.

Powerful customization possible

When you Click inside the Sparkline, the Sparkline Tools tab appears. Make sure you go through EVERY option of this menu. You can then customize the visualization for your data quickly.

SNAGHTMLac5032a

To show fluctuation across time? Use Line Sparkline

To show relative size of the data, use Bar Sparkline

Mini charts - Bar Sparkline

This diagram uses Line for monthly fluctuation and Bar for country specific values.

To show positive vs negative use Win/Loss

Mini charts - Win Loss

The last column is Win/Loss type of chart. It only depicts positive or negative outcome (Profit / Loss or Pass / Fail or Select / Reject). The line chart shows the fluctuation. In order to visually understand negative values, the Show Axis option puts a reference line at the zero position.

Mark the max or min values for easier interpretation

Mini charts - Mark Min or Max value

In case of bar style, the minimum value is always shown as a thin line. Negative minimum values look better in bars.

In the next article, we will explore some interesting practical scenarios for using Sparklines.