function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 22], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 47], ['European Journal of Taxonomy', 2], ['Invertebrate Taxonomy', 4], ['Journal of Natural History', 140], ['Journal of Species Research', 17], ['Memoirs of the Queensland Museum', 4], ['Raffles Bulletin of Zoology', 82], ['Records of the Australian Museum', 2], ['Records of the Zoological Survey of India', 22], ['VermEcology', 5], ['ZooKeys', 39], ['Zoological Studies', 6], ['Zootaxa', 572], ['Other (2)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=969)', 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);