function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Bulletin of the Bernice P. Bishop Museum', 2], ['Entomo Helvetica', 2], ['Insecta Mundi', 31], ['Japanese Journal of Systematic Entomology', 3], ['Kontyu', 2], ['Linzer biologische Beiträge', 4], ['Revista Chilena de Entomologia', 3], ['The Coleopterists Bulletin', 4], ['Transactions of the Shikoku Entomological Society', 3], ['Vestnik Zoologii', 4], ['ZooKeys', 42], ['Zoological Journal of the Linnean Society', 2], ['Zoology and Ecology', 3], ['Zootaxa', 46], ['Other (11)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=165)', 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);