I am trying to draw different types of Charts e.g. Bar Chart, Pie Chart,Stacked Bar and Column Chart etc. in Lightning Component. Can anyone please suggest me how to draw using SLDS. Link : https://www.lightningdesignsystem.com/guidelines/charts/


1 Answer 1


Unfortunately, the SLDS examples are simply design examples... Salesforce has not provide a way to create charts in LWC or Aura components. You will need to use a third-party library for that.

The Salesforce Developer's Blog includes an example of using Chart.js that can be installed via an unmanaged package. The article is a bit old, but was useful for me a while back.


  • Used analytics:reportChart for my project. Thanks to all.
    – Diganta
    May 11, 2020 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .