CBSE Class 12 Informatics Practices Question 113 of 147

Plotting with Pyplot — Question 13

Back to all questions
13
Question

Question 13

When should you create histograms and when should you create bar charts to present data visually ?

Answer

Histograms 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.