Skip to main content
1-Visitor
April 23, 2021
Solved

D3 Pie chart with half circle

  • April 23, 2021
  • 2 replies
  • 3571 views

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

The reference image is given.

Best answer by yhan

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

2 replies

17-Peridot
April 23, 2021

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

1-Visitor
April 23, 2021

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

yhan17-PeridotAnswer
17-Peridot
April 23, 2021

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

Community Manager
April 30, 2021

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