Black Lives Matter. Please consider donating to Black Girls Code today.

How to make bar chart using csv file?

import pandas as pd
df = pd.read_csv(‘data.csv’)

fig = go.Figure(df=go.Bar(x = ‘Body Type’, y = ‘Wage’)], layout_title_text = ‘Featured Title’)
fig.show()

File “”, line 1
fig = go.Figure(df=go.Bar(x = ‘Body Type’, y = ‘Wage’)], layout_title_text = ‘Featured Title’)
^
SyntaxError: invalid syntax

How do I fix that?