Google Charts - Google Charts tutorial - Google Charts Basic Area Chart - chart js - google graphs - google charts examples

What is Basic Area Chart?

  • The basic area chart is based on the line chart and the area between axis and line is filled with colors to indicate volume
  • Basic Area charts emphasize the magnitude of change over time, and can be used to draw attention to the total value which is done across a trend.
  • Basic area charts are used to see and compare the volume trend across time series 
  • Basic area charts are used for individual series representing a physically countable set
 google charts basic area char

Learn google charts - google charts tutorial - google charts basic area char - google charts examples - google charts programs


  • Here the code which is given below shows us the configuration for basic area chart

Sample code:

//area chart
var chart = new google.visualization.AreaChart(document.getElementById('container'));

  • The program which is given below shows us the full program of basic area chart which is used.
area chart

Learn Google chart - Google chart tutorial - Google area chart - Google chart examples - Google chart programs

Sample code:


<title>Google Charts Tutorial</title>
   <script type="text/javascript" src=""></script>
   <script type="text/javascript">
     google.charts.load('current', {packages: ['corechart']});     
<div id="container" style="width: 550px; height: 400px; margin: 0 auto"></div>
<script language="JavaScript">
function drawChart() {
   // Define the chart to be drawn.
   var data = google.visualization.arrayToDataTable([
      ['Year', 'Sales', 'Expenses'],
      ['2013',  1000,      400],
      ['2014',  1170,      460],
      ['2015',  660,       1120],
      ['2016',  1030,      540]

   var options = {
      title: 'Company Performance',
      hAxis: {
         title: 'Year',  
         titleTextStyle: {
            color: '#333'
      vAxis: {
         minValue: 0
   // Instantiate and draw the chart.
   var chart = new google.visualization.AreaChart(document.getElementById('container'));
   chart.draw(data, options);
Clicking "Copy Code" button to copy the code. From - google charts tutorial - team


Related Searches to Google Charts Basic Area Chart

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.