<reponame>hriday-wpo8a/c103<filename>csv files/plot.py
import pandas as pd
import plotly.express as px

df = pd.read_csv("line_chart.csv")
fig = px.line(df,x="Year",y="Per capita income",color="Country",title='Per capita income')

fig.show()
files/plot.py
import pandas as pd
import plotly.express as px

df = pd.read_csv("line_chart.csv")
fig = px.line(df,x="Year",y="Per capita income",color="Country",title='Per capita income')

fig.show()