Line Plot

import matplotlib.pyplot as plt
import pandas as pd
data1 = {'objects': ['apple', 'banana', 'mango', 'orange', 'tomato', 'potato'], 'price':[4, 7, 12, 10, 9, 14]}
plt.plot(data1['objects'], data1['price'])
[<matplotlib.lines.Line2D at 0x7fe35bfb3760>]

png