Publishing a Chart
We're almost at the end of the process, so now it's time to publish the chart. You can embed the final design of your chart on your designated CMS or website. Here’s how you do so:
curl -X 'POST' \
'https://api.plotset.com/v1/chart/<Your chart id>/embed' \
-H 'accept: application/json' \
-H 'Authorization: <Your API Key>'
the response body contains the link:
And the link itself to check the project: https://plotset.com/api/embed/741adac0-7fc4-4bd5-90a4-aaff6d4f9348
Here’s the final look of our design:
That is how we create and publish a chart using PlotSet API.