function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 1], ['Arthropod Systematics & amp; Phylogeny', 3], ['Australian Journal of Zoology', 8], ['Biodiversity Data Journal', 1], ['British Museum', 132], ['Insecta Mundi', 5], ['Insects of Guam II', 5], ['Journal of Natural History', 4], ['Laurentius Salvius', 10], ['Librairie Encyclopedique de Roret', 2], ['Officina Libraria Kortii', 2], ['Revue suisse de Zoologie', 2], ['Trans R Soc S Aust', 5], ['ZooKeys', 16], ['Zootaxa', 67], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=274)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);