Advertisements
Advertisements
Question
Which Matplotlib plot is best suited to represent changes in data over time?
Options
Bar plot
Histogram
Line plot
Histogram & Bar plot
MCQ
Solution
Line plot
Explanation:
- Line plots help visualize changes or patterns in data across time.
- They allow you to plot time series data, with the x-axis representing time and the y-axis displaying the relevant data points.
- The continuous line connecting data points makes identifying patterns, trends and swings simple.
shaalaa.com
Is there an error in this question or solution?