Plotly scatter graph fail

New to plotly/JS.
Following config does not produce x-y scatter plot, rather two separate traces with time on x-axle

type: custom:plotly-graph
title: Scatter Graph
entities:
  - sensor.esp32_2_inside_humidity
  - sensor.esp32_2_inside_temperature
layout:
  xaxis:
    title: X-Axis
  yaxis:
    title: Y-Axis
  hovermode: closest
data:
  - type: scatter
    mode: markers
    x:
      sensor.esp32_2_inside_temperature
    y:
      sensor.esp32_2_inside_humidity

Can someone spot the mistake?

Was answered here:
https://github.com/dbuezas/lovelace-plotly-graph-card/discussions/298

1 Like

So it sounds like true scatter plots are only supported in the scatter3d mode?

For a 2D plot, what’s the best course of action - flatten a 3D plot?