question 432 Visualization & EDA · easy
The dashboard chart that comes out blank
fares_chart should return a bar chart of average fare per payment type, titled Average fare by payment. The dashboard that calls it shows an empty chart. Fix the function.
Function
fares_chart(averages)averagesa dictionary from payment type to average fare
Returnsthe Figure with one bar per payment type and the title