Amazon Sales Analysis
Amazon Sales Analysis
# Extracting data
data.head()
# Transforming data
plt.figure(figsize=(12, 6))
plt.subplot(3, 1, 1)
plt.xlabel('Month')
plt.ylabel('Total Revenue')
plt.subplot(3, 1, 2)
plt.xlabel('Year')
plt.ylabel('Total Revenue')
plt.subplot(3, 1, 3)
plt.xlabel('Year-Month')
plt.ylabel('Total Revenue')
plt.tight_layout()
plt.show()
axs[1, 1].set_ylabel('Country')
axs[2, 0].set_ylabel('Region')
plt.show()