Verwijderde inhoud Toegevoegde inhoud
Pbuddenberg (overleg | bijdragen)
Pbuddenberg (overleg | bijdragen)
Regel 177:
 
Uit bovenstaande gegevens is af te leiden dat er ruim drie miljoen mensen in Nederland een vorm van onderwijs genieten waarvan het grootste deel (bijna 2 miljoen) jonger is dan 15 jaar.
 
<h1>My Web Page</h1>
 
<div id="piechart"></div>
 
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
 
<script type="text/javascript">
// Load google charts
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
 
// Draw the chart and set the chart values
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Task', 'Hours per Day'],
['Work', 8],
['Eat', 2],
['TV', 4],
['Gym', 2],
['Sleep', 8]
]);
 
// Optional; add a title and set the width and height of the chart
var options = {'title':'My Average Day', 'width':550, 'height':400};
 
// Display the chart inside the <div> element with id="piechart"
var chart = new google.visualization.PieChart(document.getElementById('piechart'));
chart.draw(data, options);
}
</script>
 
 
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.