pygal generates charts with darker background than what you see here figure - simple bar chart created with pygal notice that pygal has made the chart interactivehover your cursor over any bar in the chart and you'll see the data associated with it this feature is particularly useful when plotting multiple data sets on the same chart rolling two dice rolling two dice results in larger numbers and different distribution of results let' modify our code to create two dice to simulate the way we roll pair of dice each time we roll the pairwe'll add the two numbers (one from each dieand store the sum in results save copy of die_visual py as dice_visual pyand make the following changesdice_visual py import pygal from die import die create two dice die_ die(die_ die(make some rollsand store results in list results [for roll_num in range( ) result die_ roll(die_ roll(results append(resultanalyze the results frequencies [ max_result die_ num_sides die_ num_sides generating data