I have a json
[
{
"price": 649000,
"bedrooms": 3,
"bathrooms": 2.0,
"yr_built": 1984,
"sqft_lot": 3250.0,
"zpid": 15767255,
"address": "7036 Overlook Dr"
},
{
"price": 649000,
"bedrooms": 3,
"bathrooms": 2.0,
"yr_built": 1984,
"sqft_lot": 3250.0,
"zpid": 15767255,
"address": "7036 Overlook Dr"
},
]
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
data = pd.read_json(json.dumps(json_data))
plt.scatter(data.price, data.sqft_lot)
Why is it that for x-axis data.price the number ranges are only showing from 1-4 and not the actual price themselves?


