An on-line library for creating different chart types in Tableau


Tableau Canvas Layout:

A sparkline chart is known for its small size and data density. It presents trends and variations according to some sort of measurement. So sparkline has one or more measure in Columns.

Data Set: Sample Superstore Dataset

Building a sparkline

Opening Superstore dataset

     Right-click and drag Order Date to Columns, select continuous Day
     Move Category to Rows and Sales next to Category
     On Marks card, make sure Line is selected. Move Category to Color
Right-click on axises and choose Hide Filled Labels. Right-click again on Y-axis and uncheck Show Header. You will now have very small sparklines presenting changes in sales over years of three product categories.

Related Blog Posts:

Data Densification Using Domain Completion and Domain Padding by Jeffrey Shaffer

Return to the chart gallery