<｜begin▁of▁sentence｜>### Instruction:
Given a set of x_data [1, 2, 3, 4, 5] and y_data [10, 12, 14, 18, 20], can you create a scatter plot using Plotly's Scatter object and display the chart in an IPython notebook?
### Response:
import plotly.graph_objs as go

# Create some data
x_data = [1, 2, 3, 4, 5]
y_data = [10, 12, 14, 18, 20]

# Create a trace
trace = go.Scatter(
    x = x_data,
    y = y_data,
    mode = 'markers'
)

# Package the trace in a list
data = [trace]

# Plot and embed in ipython notebook!
fig = go.Figure(data=data)
fig.show()
<|EOT|>
