function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 3], ['Alpine Entomology', 5], ['Australian Journal of Entomology', 3], ['Biodiversity Data Journal', 2], ['Fragmenta Faunistica', 9], ['Insect Systematics & Evolution', 1], ['Insecta Mundi', 5], ['Journal of Natural History', 2], ['Occasional Papers of the Bernice P. Bishop Museum', 4], ['Pacific Science', 16], ['Proceedings of the Hawaiian Entomological Society', 4], ['Proceedings of the Linnean Society of New South Wales', 7], ['ZooKeys', 5], ['Zoosystema', 16], ['Zootaxa', 87], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=172)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);