function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Protozoologica', 8], ['Havniae & Lipsiae', 14], ['Japanese Journal of Zoology', 1], ['Journal of Eukaryotic Microbiology', 13], ['Journal of Natural History', 6], ['Journal of Parasitology', 1], ['Linzer biologische Beiträge', 1], ['Phytotaxa', 1], ['Public Library of Science, ONE', 3], ['Reise der österreichischen Fregatte Novara um die Erde ..', 1], ['Stapfia', 2], ['The Journal of Eukaryotic Microbiology', 2], ['Zoologica scripta', 2], ['Zoological Journal of the Linnean Society', 4], ['Zootaxa', 64] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=123)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);