is there a way to create Plotly include the library to create graphs of Plotly?
There is no direct way using the TCPClient as it does not support HTTPS. If you search for plotly in this forum you will find other ways people have created graphs,
@farotol and @chrisb2, I checked the Plotly SDK for Arduino and it is not using HTTP. I created a sample using this SDK. See this at https://community.spark.io/t/spark-core-plotly/4782. Please check and see this will help.