Need help getting started creating a google chart pie chart

38 views
Skip to first unread message

Joe Foster

unread,
Nov 25, 2020, 4:38:20 PM11/25/20
to Google Visualization API
Hello! I am a student working on an assignment to create a visualization in google charts. 

I am having trouble getting started and I mean from the very beginning. 

Do I have to download the chart library? If so where do I copy/paste the code? 

What else is needed to be able to generate a simple pie chart with my custom data?

Any help for a beginner would be greatly appreciated. 

Thanks in advance! 

Joe Foster

destinatio...@gmail.com

unread,
Nov 25, 2020, 6:50:29 PM11/25/20
to Google Visualization API

Hi Joe, 

no , you don't need to download the chart library . you just use google cdn directly insie of your code and it will get displayed , but it is best practiece to download and refer to local CDN . 

use the below code , at the head section of you html or application page ,it will work properly .then your pie /or bar chart code will be fillowed by this one .

<head>
  <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>



Regards,
Debashish Roy 
Data warehouse Lead | Techmahindra 

destinatio...@gmail.com

unread,
Nov 25, 2020, 6:53:15 PM11/25/20
to Google Visualization API
also you follow this section of the study material it's written same what I have suggested . 


Welcome to google visualisation journey .

Reply all
Reply to author
Forward
0 new messages