Household Spending ComparisonFollow this demo with preloaded dataset in Data Illustrateur
This chart compares household spending patterns in the UK and New Zealand in 1980 and 2008. Data source is here.
First, we draw a circle, set its fill color, repeat it by “Country”, then repeat the resulting collection again by “Year”. To customize the appearance of the x-axes, we make the path and ticks invisible, and change the orientation to “top”. We can also increase the gap between the rows by dragging the pink gap area.
Next, we select any circle and divide it bt “Category”. This gives us four pie charts. We then select any of the pies, and bind its angle to “Percentage” and fill color to “Category”.
Finally, we customize the color mapping through the interactive legend, change the visual appearance and label format of the y-axis, and increase the gap between the columns.