Generation

generate functionWed, 22 Feb 2023

question5 = "How likely would you work for a company whose mission is not bringing social impact ?" question5 = df[question5].value_counts() label = question5.index counts = question5.values Write code that builds a vertical bar graph plotly.express in which along the axis: y - label x - counts

import plotly.express as px fig = px.bar(y = label, x = counts) fig.show()

Questions about programming?Chat with your personal AI assistant