function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 6], ['American Museum Novitates', 1], ['Birkhaeuser Verlag', 2], ['Flora Helvetica', 2], ['Handbook of the Mammals of the World – Volume 8 Insectivores, Sloths and Colugos', 1], ['Info Flora Schweiz', 4], ['Mammal Species of the World (1 st Edition)', 2], ['Mammal Species of the World (2 nd Edition)', 2], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 2], ['Order out of Chaos. Linnaean Plant Types and their Types', 4], ['Phytotaxa', 3], ['Proceedings of the Zoological Society of London', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);