How can i give the colours to the histogram based on high and low values?
my existing code looks like this:
monthy_income <- ggplot(dataset) + geom_histogram(aes(MonthlyIncome), binwidth = 1000, fill = "#FF9999",col = "black")
I want to assign different colors to the below plot based on values and I want to represent the count in legend
