Theory
Categorical data names a group or label, such as favourite subject or travel method. It does not measure an amount. A bar chart can compare category frequencies.
Numerical data gives a number. Discrete data is counted in separate values, such as the number of siblings or goals scored. You cannot have 2.4 siblings.
Continuous data is measured and can take values within an interval, such as height, time or mass. A measurement is usually rounded to the accuracy of the instrument.
The question can change the type: a student's age recorded in whole years is discrete as recorded, while their exact age is continuous.
Choose a chart that suits the data. Bar charts use separated bars for categories; histograms use touching bars for grouped continuous measurements and frequency density when widths differ.