✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
You have a dataframe, df, with 2 columns, x and y. You want to create a bar chart of the sorted values of y vs. the dataframe index. Which of the following will correctly handle the sorting and plotting?