image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

import seaborn as sns
sns.set()

df = pd.read_csv('/kaggle/input/eurovision-2023-betting-odds/data/spotify/2023-04-13-spotify-streaming.csv')

top_artists = df[['artist', 'popularity']]
top_artists
plt.figure(figsize=(10, 6))
sns.barplot(x='popularity', y='artist', data=top_artists.head(10), palette='viridis')
plt.title('top_artists')
plt.xlabel('popularity')
plt.ylabel('artist')
plt.show()