Created
February 5, 2020 17:37
-
-
Save abbasali-io/e27e2b8a6ac61fa2a944735b8936f867 to your computer and use it in GitHub Desktop.
Create the plot showing the distribution of properties by Size in Kuala Lumpur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# highly sqft per area | |
all_property_sqft = df.groupby('Location')['Built_Size'].mean().sort_values(ascending=False) | |
bx = all_property_sqft.plot(kind='bar', title="Property Size Distribution in Kuala Lumpur", figsize=(15,10), legend=True, fontsize=10, rot=90) | |
bx.set_xlabel("Locations", fontsize=10) | |
bx.set_ylabel("Size", fontsize=10) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment