CBSE Class 12 Informatics Practices
Question 57 of 73
Data Visualization using Matplotlib — Question 22
Back to all questionsHistograms are great for displaying specific ranges of values and are ideal for visualizing the results of continuous data, such as the ages of students in a class. Bar charts, on the other hand, are effective for comparing categorical or discrete data across different categories or groups, such as comparing the sales performance of different products.