function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 9], ['Biodiversity Data Journal', 12], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['ConchBooks', 1], ['European Journal of Taxonomy', 1], ['Journal of Natural History', 5], ['Laurentius Salvius', 53], ['Linzer biologische Beiträge', 8], ['Records of the Australian Museum', 5], ['Revue suisse de Zoologie', 80], ['The Bulletin of the Russian Far East Malacological Society', 3], ['ZooKeys', 59], ['Zoological Journal of the Linnean Society', 12], ['Zoosystema', 10], ['Zootaxa', 121], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=382)', 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);