#Loading Library
import matplotlib.pyplot as plt

#Creating sample Dataset
x = [1, 2, 3, 4, 5]
y = [2, 4, 6, 8, 10]

#Creating plot and customizing visualization
plt.plot(x, y, color='green', linestyle='dashed',
 linewidth=2, marker='o',
 markerfacecolor='blue', markersize=8)

#Assigning labels
plt.xlabel('X-axis label')
plt.ylabel('Y-axis label')

#Giving title to graph
plt.title('Sample graph')
plt.show()