text_html_output_1.png
import pandas as pd

import plotly.express as px

games = pd.read_csv('/kaggle/input/videogamesales/vgsales.csv')

top_10_publishers = games.Publisher.value_counts().sort_values(ascending=False).head(10)
fig = px.pie(top_10_publishers, values=top_10_publishers.values, names=top_10_publishers.index, title='Top 10 Games Publishers')
fig.update_traces(textposition='inside', textinfo='percent+label')
fig.show()