data = [6, 9, 11, 10, 9, 10, 15, 17, 20, 7, 7, 15, 13, 15, 10, 10, 5, 12, 18, 7, 4, 12, 15, 16, 10, 14, 8, 14, 7, 19, 7, 9, 10, 4, 15, 11, 21, 10, 4, 5, 17, 6, 15, 11, 20, 12, 15, 3, 13, 6];
hist (data, 10, "facecolor", "r", "edgecolor", "b");
xlabel('Data (units)', 'FontSize', 20)
ylabel('Frequency', 'FontSize', 20)
axis('tight')
set(gca,'FontSize',20)
To embed this project on your website, copy the following code and paste it into your website's HTML: