How to integrate a dropdown to a Chart

Hi,

I would like to set up a dropdown box to update the chart as is shown on this page:
HelpDesk Dashboard

How do I add the dropdown field to the chart and have it filter the list data when changed? I have reviewed the information on this Sample page, but I am unable to find any reference to how to add the dropdown field itself.

Thanks in advance for your help, Rhonda

Dear @rhonda,
You can either use custom SPFx web part for the drop down, or add the field with JavaScript or jQuery - .append() | jQuery API Documentation