Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Computer Applications Lab 0 9 0 7 3 3 1 LabSheet 8 : Matplotlib Answer the following questions on the sales, cars, Uploads and movies
Computer Applications Lab LabSheet: Matplotlib Answer the following questions on the sales, cars, Uploads and movies datasets. The datasets are available on MS teams. Notes Grading will be based on the correctness, clarity and the completeness of the figure elements like labels, title and legend if needed. The figures should appear in the questions order Fill the missing values in each column with the average value for that column. Tasks Using the Sales.xlsx dataset answer the following a Draw a stackplot that shows the sales per month b Draw a pie chart that shows the percentage of sales for each product in August c Find the Sugar sales for each quarter and draw it as a bar plot Using the cars.xlsx dataset answer the following a Draw a pie plot that shows the percentage of the cars displacement in the ranges over b Draw a stacked bar plot that shows the ranges of horsepower for each country as shown. Using the Uploads.csv uploads effects of COVID on trade dataset answer the following a Draw a scatter plot that shows the sum of cumulative cost for the Milk powder, butter, and cheese exports that done in with value more than as shown b Draw a stack bar plot that shows the summation of values for the two trade directions Exports and Imports for the year from to as shown below. Using the movies.xls dataset answer the following a Draw a pie chart for the movies produced by Germany. The pie chart shows the distribution of the movies based on the language. b Draw a bar chart that shows the number of movies produced by Spain, France, Canada and China in each year between and inclusive. c Draw a scatter plot that shows the relation between the budget and the IMDB score for movies produced by France. The size of the dot should be based on the duration of the movie and the color based on the first letter of the movie. d Draw a pie chart that shows the percentage of the movies for each Genre. Note: if the movie is Action and War then you count it in the Action group and the War group
Computer Applications Lab
LabSheet: Matplotlib
Answer the following questions on the sales, cars, Uploads and movies datasets. The datasets are available on MS teams.
Notes
Grading will be based on the correctness, clarity and the completeness of the figure elements like labels, title and legend if needed.
The figures should appear in the questions order
Fill the missing values in each column with the average value for that column.
Tasks
Using the Sales.xlsx dataset answer the following
a Draw a stackplot that shows the sales per month
b Draw a pie chart that shows the percentage of sales for each product in August
c Find the Sugar sales for each quarter and draw it as a bar plot
Using the cars.xlsx dataset answer the following
a Draw a pie plot that shows the percentage of the cars displacement in the ranges over
b Draw a stacked bar plot that shows the ranges of horsepower for each country as shown.
Using the Uploads.csv uploads effects of COVID on trade dataset answer the following
a Draw a scatter plot that shows the sum of cumulative cost for the Milk powder, butter, and cheese exports that done in with value more than as shown
b Draw a stack bar plot that shows the summation of values for the two trade directions Exports and Imports for the year from to as shown below.
Using the movies.xls dataset answer the following
a Draw a pie chart for the movies produced by Germany. The pie chart shows the distribution of the movies based on the language.
b Draw a bar chart that shows the number of movies produced by Spain, France, Canada and China in each year between and inclusive.
c Draw a scatter plot that shows the relation between the budget and the IMDB score for movies produced by France. The size of the dot should be based on the duration of the movie and the color based on the first letter of the movie.
d Draw a pie chart that shows the percentage of the movies for each Genre. Note: if the movie is Action and War then you count it in the Action group and the War group
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started