Hello siddhart you code is wrong so this error is popping up
You should check your code one again
Please share screenshot of your code so I can help
Declare a labirary.
setChartLibrary(“google-chart”);
After that write a code for what kind of chart you need.