Plotting with ggplot2: “Error: Discrete value supplied to continuous scale” on categorical y-axis
As mentioned in the comments, there cannot be a continuous scale on variable of the factor type. You could change the factor to numeric as follows, just after you define the meltDF variable. Then, execute the ggplot command And you will have your chart. Hope this helps