Click for original version
The version displayed below was modified with permission of Andrew.
Download this .zip and run main.m to see MATLAB create all those charts with simple data.
Many of these visualizations had dedicated functions to do that exact plot, some required some data massaging (like the “100% stacked bar plots” that normalized each stacked bar series to have the same sum) and some required the addition of some lines (like the connected bar charts).
This was a fun exercise in reproducing all these plots in MATLAB. Do you have some favorite plots that are not shown here? Do you want to make some dedicated functions to create those various bar charts that needed the most fiddling with?
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.