How can I creat a graph of a sensor?

Hello everyone.
I'm making an app integrated with MQTT with ESP32. In one part of the project, I need to graph the data collected from a sensor. But I'm not sure how to do this.
plss help me