function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 1], ['Cybium', 2], ['Japanese Journal of Ichthyology', 3], ['Journal of the Ocean Science Foundation', 1], ['Micronesica', 14], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 2], ['Records of the Australian Museum', 3], ['Revue française d\'Aquariologie Herpétologie', 1], ['Scientia Marina', 1], ['Species Diversity', 1], ['ZooKeys', 3], ['Zoological Studies', 2], ['Zootaxa', 105] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=140)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);