1

import matplotlib.pyplot as plt
import pandas as pd
plt.style.use(‘bmh’)
df=pd.read_csv(‘dataset.csv’)
x=df[‘Model’]
y=df[‘Price’]

plt.xlabel(‘Model’,fontsize=18)
plt.ylabel(‘Price(INR)’,fontsize=16)
plt.bar(x,y)

Paste text,images,html and share with anyone
Scroll to Top