Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
540 B
1
Indexable
Never
for response in language_responses:
  language_counter.update(response.split(";"))



languages = []
popularity = []

for item in language_counter.most_common(15):
  languages.append(item[0])
  popularity.append(item[1])

plt.bar(languages, popularity)
plt.xlabel("Languages")
plt.xlabel("Popularity")
plt.title("Language Popularity among developers")
plt.show()

## **Plot horizontal Bar chart**

plt.barh(languages, popularity)
plt.xlabel("Popularity")
plt.title("Language Popularity among developers")
plt.show()