function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 152], ['Biodiversity Data Journal', 5], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 3], ['Bulletin of the Raffles Museum', 6], ['European Journal of Taxonomy', 435], ['Folia Parasitologica', 8], ['Geodiversitas', 1], ['Journal Med Ent', 1], ['Journal of Medical Entomology', 4], ['Journal of Parasitology', 2], ['Journal of the Washington Academy of Sciences', 3], ['New Zealand Journal of Zoology', 2], ['Systematic Parasitology', 2], ['Transactions of the Royal Society of New Zealand', 3], ['Zootaxa', 4305], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=4935)', 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);