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 Zoological Society of London', 39], ['Revue Suisse de Zoologie', 1], ['Transactions of the Linnean Society of London', 3], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 13], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=102)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);