Hi there,
I have a friend that claims that for plotting purposes, if we create Plotly plots with Javascript it is faster that Python. Do you have any experience and is this quote correct???
Hi there,
I have a friend that claims that for plotting purposes, if we create Plotly plots with Javascript it is faster that Python. Do you have any experience and is this quote correct???
Comparing the performance of Plotly in JavaScript versus Python can depend on several factors, including the specific use case, the environment where the code runs, and the implementation details.
If youβre using Plotly.js in a web browser, the plots are rendered directly on the client-side. Plotly in Python typically generates plots on the server-side.
Python is often used for data manipulation and preprocessing tasks, where large datasets are handled efficiently using libraries like Pandas or NumPy. While JavaScript can handle data on the client-side, it may require efficient data handling techniques depending on the scale of data and the capabilities of the clientβs machine.
Hello dear @brandon698sherrick
Really thanks for your contribution to this question.
Imagine we are using Python and JavaScript on a client system. What about in this situation?. In this case, if we use Plotly to plot something with huge amount of data, is there any differences?
We think that maybe Plotly Python first translate data to JavaScript and then data will be plotted, so, in this way we think that Plotly Python took longer time than JavaScript. Or we are wrong and in this case there is no difference or even because of the power of Python on working with huge data, even maybe Python be faster!?