Skip to main content
. 2023 Dec 15;26(4):167–175. doi: 10.7602/jmis.2023.26.4.167

Table 3.

Visualization by variable type

Variable Analysis Recommended Visualization
Single Variable Categorical Frequency analysis, Cross-tabulation Countplot
Continuous Descriptive statistics Histogram
Two Variables Continuous/Continuous Correlation analysis Scatter plot
Categorical/Categorical Chi-square test Heatmap
Categorical/Continuous Multivariate analysis Violin plot
Strip plot
Swarm plot