This article describes how to create a table of bar charts (similar to adding spark bars to each cell) from a table. Our example will go from a table like this...
... to a shaded data bar visualization called a Bar Crosstab:
Requirements
Please note this requires the Data Stories module or a Displayr license.
- A table of data or variables to use in the Rows/Columns in the visualization (possible only for users with a full Displayr license).
Method
- From the toolbar, select Visualization > Bar > Bar Crosstab
- From the object inspector > Data > Data Source section:
- To use a table as the input click into the Data field and select the name of your table (alternatively you can also click on the table to insert the name).
- To use variables to create a table on the backend within the visualization, select your variables in the Rows and Columns fields. Note this is only available to users with a full Displayr license. If using this as the input, you can also apply select Rules to customize the coloring, sorting, etc of the table of bars.
- The Chart tab in the object inspector is where you configure the appearance of the chart.
Next
How to Create Several Bar Charts Using Small Multiples