Hello friends in this section we come with question related to data visualization with important question. you must do your self these question if you have basic knowledge of data visualization.if you want to learn Data visualization from basic just click here and lear basic of data visualization
[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] Write a program to plot a range from 1 to 30 with step value 4. Use following algebraic expression to show data.
y = 5*x+2
[6] Observe following data and plot data according to given instructions:
Batsman | 2017 | 2018 | 2019 | 2020 |
Virat Kohli | 2501 | 1855 | 2203 | 1223 |
Steve Smith | 2340 | 2250 | 2003 | 1153 |
Babar Azam | 1750 | 2147 | 1896 | 1008 |
Rohit Sharma | 1463 | 1985 | 1854 | 1638 |
Kane Williamson | 1256 | 1785 | 1874 | 1974 |
Jos Butler | 1125 | 1853 | 1769 | 1436 |
- Create a bar chart to display data of Virat Kohli & Rohit Sharma.
- Customize the chart in this manner
- Use different widths
- Use different colors to represent different years score
- Display appropriate titles for axis and chart
- Show legends
- Customize the chart in this manner
- Create a bar chart to display data of Steve Smith, Kane Williamson & Jos Butler. Customize Chart as per your wish.
- Display data of all players for the specific year.
0 Comments