function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 3], ['Biodiversity Data Journal', 39], ['Bulletin of Entomological Research', 5], ['European Journal of Taxonomy', 8], ['Fauna of New Zealand', 4], ['Insect Systematics and Diversity', 7], ['Journal of Natural History', 83], ['Journal of Species Research', 10], ['Journal of the Australian Entomological Society', 2], ['New Zealand Journal of Science', 6], ['Parasites & Vectors', 2], ['Raffles Bulletin of Zoology', 2], ['ZooKeys', 29], ['Zoological Journal of the Linnean Society', 10], ['Zootaxa', 678], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=893)', 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);