Widget to enter x and y coordinates

Is there a way to have a widget that accepts x and y values that can be used to update plots on a graph?

For example, I want a user to be able to change the values in a widget like the following:

| x value | 23 | 19 | 21 |
----------------------------------- |
| y value | 4 | 34 | 55 |

|----------------------|

update graph

And then select β€œupdate” and the points on the graph get updated.

Is such a thing possible?

Thanks