不動産のデータをグラフとして表示してください
data = [
  {'Location': 'Tokyo', 'Average Price': 10},
  {'Location': 'Osaka', 'Average Price': 7},
  {'Location': 'Nagoya', 'Average Price': 9},
]
import matplotlib.pyplot as plt

locations = [x['Location'] for x in data]
prices = [x['Average Price'] for x in data]

plt.bar(locations, prices)
plt.title('Average Property Prices in Japan')
plt.xlabel('Location')
plt.ylabel('Average Price (in Million Yen)')
plt.show()