Generating `JSON` Data for Imbedding in Static Web Site


I am using PlotLy with MATLAB.
I have the latest version to PlotLy MATLAB from Plotly Graphing Library for MATLAB.

I want to embed the figures in my static web page which is based on Hugo.
I found this tutorial - Including Plotly Figures in Hugo Posts.

In the tutorial the user generates json file to be embedded in the code of the JS library.
It seems the Plotly Python library can generate those json files.
I was wondering, how can I generate the same json files using the MATLAB version of PlotLy?

Thank You.

Hello, I have the exact same question with the exact same purpose :slight_smile: Anyone? I didn’t see a point starting a new thread.