Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

REST API 2.0 for Pie Chart

Hi, I’m trying to create Pie Chart with REST API 2.0 without success can someone help me?

Below is my example for the data I sent.
{
“figure”: {
“data”: [
{
“name”:“Name”,
“labels”:“example:1:37e92e”,
“values”:“example:1:27e31e”,
“type”:“pie”
}
]
}
}

Thank you very much