fall11A

In this example below you will see how to do a fall11A with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by DarioGuerra, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright DarioGuerra ©
  • HTML
  • CSS
  • JavaScript
      <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
  <div id="chart_div"></div>

/*Downloaded from https://www.codeseek.co/DarioGuerra/fall11a-kkgjvg */
    


/*Downloaded from https://www.codeseek.co/DarioGuerra/fall11a-kkgjvg */
    google.charts.load('current', {packages: ['corechart', 'line']});
google.charts.setOnLoadCallback(drawBasic);

function drawBasic() {

      var data = new google.visualization.DataTable();
      data.addColumn('number', 'X');
      data.addColumn('number', 'JVR');
  

      data.addRows([
      [1970,5], [1975,4], [1980,14], [1985,26], [1990, 30], [1995, 35], [2000, 5], [2010,200], [2016,400]
      ]);

      var options = {
        hAxis: {
          title: 'Time/Rise of A-M'
        },
        vAxis: {
          title: 'Non-men'
        }
      };

      var chart = new google.visualization.LineChart(document.getElementById('chart_div'));

      chart.draw(data, options);
    }




Comments