function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Museum memoir', 2], ['Biodiversity Data Journal', 3], ['Fauna of New Zealand', 9], ['Insects of Guam I', 4], ['Journal of Natural History', 13], ['Laurentius Salvius', 3], ['Linzer biologische Beiträge', 1], ['Papéis Avulsos de Zoologia', 1], ['PhytoKeys', 1], ['Phytotaxa', 2], ['Proceedings of the Linnean Society of London, Zoology', 1], ['Zootaxa', 85] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=125)', 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);