function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['European Journal of Taxonomy', 10], ['Geodiversitas', 6], ['Journal of Natural History', 13], ['Marine Biodiversity', 1], ['Munis Entomology & Zoology', 2], ['Palaeodiversity', 1], ['PeerJ', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Records of the Australian Museum', 2], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 3], ['Species Diversity', 1], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 18], ['Zoological studies', 2], ['Zootaxa', 137], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=200)', 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);