Skip to main content
1-Visitor
Solved

D3 Pie chart with half circle

Is there a way to make d3 pie chart( donut chart) to show only half circle part? 

The reference image is given.

yhanAnswer
17-Peridot

Hi @PM_9712905 

 

The D3 pie chart is not available OOTB. I did some searching and find "Pie Chart to Donut Chart and add boundary to the bar chart" may meet your needs.

 

You can also refer ThingWorx Extension Development Guide chapter 8 for customized widget implementation.

 

Thanks,

/Yoyo

4 replies

17-Peridot

Hi @PM_9712905,

 

Currently, there is no D3 Pie Chart Widget in ThingWorx OOTB that can load a half-ring Chart.  You need to customize D3 Pie Chart that has a half-ring feature via js as a ThingWorx extension, then import the extension to TWX.

 

Thanks,

/Yoyo

Translate
1-Visitor

@yhan Thanks for the quick reply. Can u pls provide link for the d3 chart and also guide for creating extension?

Translate
yhan17-PeridotAnswer
17-Peridot

Hi @PM_9712905 

 

The D3 pie chart is not available OOTB. I did some searching and find "Pie Chart to Donut Chart and add boundary to the bar chart" may meet your needs.

 

You can also refer ThingWorx Extension Development Guide chapter 8 for customized widget implementation.

 

Thanks,

/Yoyo

Translate
Support

Hi @PM_9712905.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Translate