function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Hallageriis', 2], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 32], ['Laurentius Salvius', 2], ['Papéis Avulsos de Zoologia', 2], ['Proceedings of the Malacological Society of London', 3], ['Proceedings of the Zoological Society of London', 40], ['Revue Suisse de Zoologie', 1], ['Transactions of the Linnean Society of London', 3], ['Videnskabelige Meddelelser fra Dansk Naturhistorisk Forening i Kjøbenhavn', 1], ['ZooKeys', 6], ['Zoological Journal of the Linnean Society', 23], ['Zootaxa', 7], ['de l\'Autuer', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=123)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);