import matplotlib.pyplot as plt
import numpy as np

# generate data
data = np.random.normal(0, 1, 1000)

# create histogram
plt.hist(data, bins=30, color='blue', edgecolor='black')

# set labels and title
plt.xlabel('Values')
plt.ylabel('Frequency')
plt.title('Histogram of Data')

# display plot
plt.show()