Introduction
Melt helps change data from wide format to long format. This makes it easier to analyze and plot data.
You have survey data with one row per person and many columns for answers, and want one row per answer.
You want to combine multiple columns of monthly sales into one column with month names and sales values.
You need to prepare data for a chart that requires long format, like a line plot over time.
You want to stack several related columns into two columns: one for variable names and one for values.