function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian zoologist', 6], ['Bulletin of the American Museum of Natural History', 9], ['Copeia', 4], ['European Journal of Taxonomy', 62], ['Geodiversitas', 5], ['Journal of Natural History', 4], ['Memoirs of the Queensland Museum', 7], ['Oceanologica et Limnologica Sinica', 7], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the Linnean Society of New South Wales', 4], ['Proceedings of the United States National Museum, 3', 4], ['Records of the Australian Museum', 5], ['Veit', 4], ['Zoological Journal of the Linnean Society', 10], ['Zootaxa', 555], ['Other (61)', 84] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=774)', 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);