Created
October 15, 2022 23:27
-
-
Save rsalaza4/d045bc7f18325609b01e99d43576ea56 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Set matplotlib style | |
| plt.style.use('ggplot') | |
| # Plot linechart | |
| plt.figure(figsize=(20,7)) | |
| plt.plot(employees_df, "--o", c= "grey") | |
| plt.xlabel("Date") | |
| plt.ylabel("Count of Active Employees") | |
| plt.title("Employees Growth Over Time") | |
| plt.xticks(employees_df.index, rotation=90) | |
| for a,b in zip(employees_df.index, employees_df["Count Active Employees"]): | |
| plt.text(a, b, str(b)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment