Adding visualization for the mined data using matplotlib