Data Types
Quantitative variables (continuous or discrete) versus categorical variables (nominal or ordinal); the type decides which summaries and charts are valid. Data is also structured (rows and columns) or unstructured (text, images, audio).
When to use
Classify a variable before choosing a statistic or chart: mean and histogram for quantitative, mode and bar chart for categorical. Watch the trick questions: an employee ID is categorical even though it is a number, and a 1 to 5 star rating is technically ordinal.
See Lec 1.