# Had to install plotly
# Had to install pandas
import plotly.express as px

y = [1,2,3,4]
x = [1,3,2,7]

# Draw the graph
plot = px.line(x=x, y=y, color_discrete_sequence=["orange"])
plot.update_traces(mode='lines+markers')
plot.update_traces(marker=dict(
        size=10,        # Adjust marker size
        color='blue',   # Adjust marker color
        symbol='circle' # Adjust marker symbol (e.g., 'circle', 'square', 'diamond', 'x')
    ))
plot.update_traces(    line=dict(
        color='red',    # Adjust line color
        width=5         # Adjust line width
    ))
plot.update_layout(title='MPG vs Weight',xaxis_title='MPG',yaxis_title='Weight')

plot.show()
