I am trying to generate a horizontal chart for the dataset I have. I am trying a get a chart that looks like this using Python.

This is how my dataset looks like:

How do I get this dataset to look like a straight horizontal line with a dot representing the average?
When I use plt.plot, I get something like this:

sns.pointplot. E.g.sns.pointplot(data=df, x='score', y='participant', join=False).hue=for coloring. Usually, this refers to still another column. If you really want, you could use the same:sns.pointplot(data=df, x='score', y='participant', join=False, hue='participant', dodge=False)ax = sns.pointplot(data=df, x='score', y='participant', join=False)and thenax.collections[0].set_color('crimson')orax.collections[0].set(color='crimson', zorder=3).