JS GraphicsLesson 35Free preview
Graph Google
This lesson is part of A.I. · All levels
Summary
Google Charts is a Google visualization service that is uploaded directly from the internet via google.charts.load(). The data is prepared in the form of a table, then a specific type of graphic such as PieChart or BarChart is rendered to an HTML element. This library provides many types of interactive graphics ready for use.
Key points
- Google Charts is loaded via google.charts.load with the required packages.
- Data is prepared with google.visualization.arrayToDataTable.
- SetOnLoadCallback runs the draw function once the library is ready.
- There are many types available: PieChart, BarChart, LineChart, Scatter, and more.
- Interactive graphics run in the browser without building your own charting server.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.