function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annali dell\'Accademia degli Aspiranti Naturalisti', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Indo-Malayan zoology', 1], ['Journal of Natural History', 38], ['Micronesica', 1], ['Nauplius', 1], ['Records of the Australian Museum', 1], ['Siboga-Expeditie', 2], ['Zoological Journal of the Linnean Society', 2], ['Zoological Science', 1], ['Zoologische Mededelingen, Leiden', 16], ['Zoosystema', 12], ['Zootaxa', 68] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=145)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);