Highcharts Demo

author(s): Torstein Hønsi

by metalshark7

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/data.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 310px; max-width: 600px; height: 400px; margin: 0 auto"></div>

<pre id="csv" style="display:none">Year,Annual mean,5 year...

JavaScript

Highcharts.chart('container', {

    title: {
        text: 'Global temperature change'
    },

    subtitle: {
        text: 'Data module: Show only last 20 years by limiting start row.'
    },

    data: {
       csvURL: 'https://intelligen.outsystemscloud.com/IntelligenServices/rest/Indicadores/Demograficoscsv?cvegeo=2',
        enablePolling: true,
        dataRefreshRate: 5
  
    },

    xAxis: {
        allowDecimals: false
    },

    series: [{
        name: 'Annual mean'
    }]
});