Choosing a chart means starting from the question asked: change over time (line), comparison of categories (bars), distribution (histogram, box plot), relationship between two variables (scatter plot), part of a whole (stacked bars, with caution). A poor choice of form makes the message confusing or misleading.
Example
Comparing 5 products: a bar chart rather than a pie chart.