Generation

generate functionSat, 04 Mar 2023

Add the x-axis value captions to the code of this graph and change its color to purple gdpdiff[['Country or region', 'GDP per capita']].plot(kind='bar')

gdpdiff[['Country or region', 'GDP per capita']].plot(kind='bar', x='Country or region', y='GDP per capita', color='purple')

Want to kickstart your project?Use the new AI Studio to create your code