Visualizing mixed data

In this recipe, we will see the visualization of mixed data where both continuous and factor variables are present.

For this plot, we will use our modified mtcars data that we created earlier.

The command is similar as with continuous and categorical data; here is the code to create the plot:

How to do it…