function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the British Museum (Natural History), Zoology Series', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['Bulletin of the National Science Museum, Series A, Zoology', 1], ['Deterville', 1], ['Journal of Natural History', 9], ['Journal of Parasitology', 2], ['Papéis Avulsos de Zoologia', 2], ['Parasite', 4], ['Revue suisse de Zoologie', 56], ['Systematic Parasitology', 21], ['Vestnik Zoologii', 7], ['ZooKeys', 15], ['Zootaxa', 552], ['Other (9)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=684)', 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);