import plotly.express as px import pandas as pd # Sample data df = pd.DataFrame(dict( group = ["Gurbaz", "Rohit", "Travis", "D Cock", "Zadran"], value = [281, 257, 255, 243, 231])) fig = px.bar(df, x = 'group', y = 'value') fig.show()