cis-ds / Discussion

Public discussion
10 stars 15 forks source link

Reverse the ordering of a bar chart #200

Closed bkbrown226 closed 2 years ago

bkbrown226 commented 2 years ago

I've been working on the second exercise in homework 2. I've been using the reorder function to get my bar chart in order, but it only creates the chart with values from highest to lowest. I've tried using desc() in various places, but it never works right. Is there any way to reverse the order of the bars in the chart?

bkbrown226 commented 2 years ago

I solved the issue, apparently reorder has a parameter that specifies increasing or decreasing order.