function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Annals of the Entomological Society of America', 1], ['Can Ent', 1], ['Caucasian Entomological Bulletin', 6], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['Insects of Guam I', 3], ['Journal and Proceedings of the Linnean Society of London, Zoology', 3], ['Mitteilungen Der Schweizerischen Entomologischen Gesellschaft', 2], ['Proceedings of the Entomological Society of Washington', 1], ['Vestnik Zoologii', 2], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 3], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', 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);