df2 = df.groupby('team1')['first_ings_score'].sum().sort_values(ascending=False).head(10)
# Adjust figure size for better readability
plt.figure(figsize=(12, 6))
plt.scatter(x = 'team1', y= 'first_ings_score')
plt.xlabel('Team')
plt.ylabel('Total First Innings Score')
plt.title('Top 10 Teams by Total First Innings Score')
# Rotate x-axis labels if they overlap
plt.xticks(rotation=45, ha='right')
# Adjust layout to prevent labels from being cut off
plt.tight_layout()
plt.show()