[go: up one dir, main page]

0% found this document useful (0 votes)
29 views4 pages

Classs12 Ai Practical Graph

ai

Uploaded by

Ak Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views4 pages

Classs12 Ai Practical Graph

ai

Uploaded by

Ak Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Class-12 program

1. Plot following data on line chart:

Day Monday Tuesday Wednesday Thursday Friday

Income 510 350 475 580 600

Write a title for the chart “The Weekly Income Report”.


Write the appropriate titles of both the axes.
Write code to Display legends.
Display red color for the line.
Use the line style – dashed
Display diamond style markers on data points

2. A Shivalik restaurant has recorded the following data into their register for their
income by Drinks and Food. Plot them on the line chart.

Day Monday Tuesday Wednesday Thursday Friday


Drinks 450 560 400 605 580
Food 490 600 425 610 625
Apply following customization to the line chart.
Write a title for the chart “The Weekly Restaurant Orders”.
Write the appropriate titles of both the axes.
Write code to Display legends.
Display your choice of colors for both the lines drinks and food.
Use the line style – dotted for drinks and dashdot for food.
Display plus markers on drinks and x markers of food.
3. Observe the given data for monthly views of one of the youtube channels for 6
months. Plot them on the line chart.

Month January February March April May June


Views 2500 2100 1700 3500 3000 3800

Apply following customizations to the chart:


Give the title for the chart – “Youtube Stats”
Use the “Month” label for X-Axis and “Views” for Y-Axis.
Display legends.
Use dashed lines with the width 5 point.
Use red color for the line.
Use dot marker with blue edge color and black fill color.

4. Consider the following data of a medical store and plot the data on the line chart:

Month Masks Sanitizer Hand wash


March 1500 4400 6500
April 3500 4500 5000
May 6500 5500 5800
June 6700 6000 6300
July 6000 5600 6200
August 6800 6300 4500
Customize the chart as you wish.
5. Depict the sales for the three weeks using a Line chart. It should have the
following: i. Chart title as “Mela Sales Report”. ii. axis label as Days. iii. axis label
as “Sales in Rs”. Line colours are red for week 1, blue for week 2 and brown for
week 3.

6. Day-wise sales data along with Day’s names Week 1 Week 2 Week 3 Day 5000
4000 4000 Monday 5900 3000 5800 Tuesday 6500 5000 3500 Wednesday 3500 5500
2500 Thursday 4000 3000 3000 Friday 5300 4300 5300 Saturday 7900 5900 6000
Sunday.This program displays the Python script to display Bar plot for the
“MelaSales.csv” file with column Day on x axis as shown below
7. In order to assess the performance of students of a class in the annual
examination, the class teacher stored marks of the students in all the 5 subjects in
a CSV “Marks.csv” file as shown in Table. Plot the data using boxplot and perform
a comparative analysis of performance in each subject.

12. Prayatna sells designer bags and wallets. During the sales season, he gave
discounts ranging from 10% to 50% over a period of 5 weeks. He recorded his sales
for each type of discount in an array. Draw a scatter plot to show a relationship
between the discount offered and sales made. we have opted for displaying the size
of the bubble as 10 times the discount, as shown in The colour and markers can
also be changed in the above plot by adding the following statements

13. Let us consider the dataset


of Table showing the forest
cover of north eastern states
that contains geographical
area and corresponding forest
cover in sq km along with the
names of the corresponding states.

You might also like