create a dice roll pie chart with a legend and title in matlab
main.m
% Define the labels and data for the pie chartlabels = {'1', '2', '3', '4', '5', '6'};
data = [1/61/61/61/61/61/6];
% Create the pie chartpie(data, labels);
% Add title and legendtitle('Dice Roll Distribution');
legend(labels, 'Location', 'best');