text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import pandas as pd

concat_california_array = np.concatenate((california.data, np.reshape(california.target, (california.target.shape[0], 1))), axis=1)
california_df = pd.DataFrame(concat_california_array, columns=california.feature_names + ['price'])

plt.figure(figsize=(15, 10))
plt.scatter(california_df['Longitude'], california_df['Latitude'], c=california_df['price'], s=california_df['Population'] / 10, cmap='viridis')
plt.colorbar()
plt.xlabel('longitude')
plt.ylabel('latitude')
plt.title('house price on basis of geo-coordinates')
plt.show()