function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 2], ['Biodiversity Data Journal', 8], ['European Journal of Taxonomy', 5], ['Far Eastern Entomologist', 4], ['Insects of Guam II', 1], ['Linzer biologische Beiträge', 12], ['Magazin für Insektenkunde', 1], ['Officina Libraria Kortii', 1], ['Palaeoentomology', 5], ['Proft et Storch', 2], ['Public Library of Science, ONE', 5], ['Transactions of the Entomological Society of London', 1], ['ZooKeys', 7], ['Zoological Systematics', 8], ['Zootaxa', 64] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=126)', 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);