figure - bar plot representing quantities purchased at weekly level histograms one of the most important aspects of exploratory data analysis (edais to understand distribution of various numerical attributes of given dataset the simplest and the most common way of visualizing distribution is through histograms we plot the price distribution of the products purchased in our dataset as shown in the following snippet df price hist(color='green'plt title('price distribution'we use the hist(function to plot the price distribution in single line of code the output is depicted in figure - figure - histogram representing price distribution