Bar Charts: Map the color aesthetic to a different data point

Options

Suppose a bar chart, X: Product and Y: Sales. I'd like to map a new data column, Profit %, as the gradient color of the bar for Sales.

1
1 votes