+ Start a Discussion
LudivineLudivine 

How to create a spider chart in Lightning?

Hi dev team,

I have created a custom object with questions and corresponding marks detailed in several text and number fields to be displayed in a specific graph. The request is to create a Spider Chart.
Is there a existing Ligtning component for this sort of chart?
Or do you advise anything else?

Thank you.
Best Regards,
Ludivine
Best Answer chosen by Ludivine
Alain CabonAlain Cabon
There are not radar/spider charts for the report by default in Salesforce 
https://help.salesforce.com/articleView?id=chart_types.htm&type=5 (https://help.salesforce.com/articleView?id=chart_types.htm&type=5)

You need to build custom data visualization components with third-party charting libraries like Chart.js, D3, and Highcharts.

Building Lightning Components with Chart.js
https://developer.salesforce.com/blogs/developer-relations/2017/03/building-lightning-components-chart-js.html

Salesforce Lightning Component – Radar Chart
https://www.jitendrazaa.com/blog/salesforce/create-radar-chart-lightning-component/
 

All Answers

Alain CabonAlain Cabon
There are not radar/spider charts for the report by default in Salesforce 
https://help.salesforce.com/articleView?id=chart_types.htm&type=5 (https://help.salesforce.com/articleView?id=chart_types.htm&type=5)

You need to build custom data visualization components with third-party charting libraries like Chart.js, D3, and Highcharts.

Building Lightning Components with Chart.js
https://developer.salesforce.com/blogs/developer-relations/2017/03/building-lightning-components-chart-js.html

Salesforce Lightning Component – Radar Chart
https://www.jitendrazaa.com/blog/salesforce/create-radar-chart-lightning-component/
 
This was selected as the best answer
LudivineLudivine
Hi Alain,

Many thanks for your links. This is absolutly what I need.
In the upcoming months, I will take trainings to get confortable in building dynamic charts in Lightning as I assume I will get more and more requests like this one.
Many thanks, very much appreciate.

Best Regards,
Ludivine