the sectors in the graph are labeled with the strings in the labels arraybubble chart another variant of the scatter plot is the bubble chart in scatter plotwe only plot the xy points of the data bubble charts add another dimension by illustrating the size of the points this third dimension may represent sizes of markets or even profitsimport numpy as np import matplotlib pyplot as plt np random rand(ny np random rand(ncolors np random rand(narea np pi ( np random rand( ))** plt scatter(xys=areac=colorsalpha= plt show(with the variable nwe specify the number of randomly generated and values this same number is used to determine the random colors for our and coordinates random bubble sizes are determined by area np pi ( np random rand( ))**