function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Backhuys', 7], ['Bibliopolii Academici Novi', 1], ['British Museum (Natural History)', 2], ['Carolum Reichard', 1], ['China Agricultural University Press', 2], ['Entomologist\'s gazette', 1], ['F. W. Forstmann', 32], ['Faunus (Gistel\'s)', 1], ['Journal of Natural History', 18], ['Linzer biologische Beiträge', 11], ['Memoirs of the Entomological Society of Southern Africa', 2], ['Regio typographeo scholarum', 5], ['ZooKeys', 9], ['Zootaxa', 54], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=152)', 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);