Assignment 8py
Assignment 8py
NumPy-Based Questions
Pandas-Based Questions
Matplotlib-Based Questions
7. Data Visualization:
o Create a line plot showing the growth of a company's revenue over the last 12
months.
Add labels, title, and legend to the plot.
Highlight the month with the maximum revenue using an annotation.
8. Bar Chart and Pie Chart:
o Using the employee dataset, create:
A bar chart showing the number of employees in each department.
A pie chart representing the percentage distribution of employees
across departments.
9. Histogram and Scatter Plot:
o Generate random data for students' test scores in two subjects (e.g., Math and
Science).
Plot a histogram of scores for each subject.
Create a scatter plot to analyze the correlation between Math and
Science scores. Add a trendline.