CBSE Class 12 Informatics Practices Question 53 of 73

Data Visualization using Matplotlib — Question 18

Back to all questions
18
Question

Question 18

A list, namely temp contains average temperature for seven days of last week. You want to see how the temperature changes in the last seven days. Which chart type will you plot for the same and why?

Answer

A line chart is the suitable choice for visualizing how the temperature changed over the last seven days. The line chart shows trends over time and displays continuous data, making it ideal for representing temperature values. The chart's ability to connect data points allows viewers to easily observe temperature trends and understand variations across the seven-day period.