function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['European Journal of Taxonomy', 35], ['Journal of Natural History', 45], ['Journal of the Imperial Fisheries Institute, Tokyo', 1], ['Mémoires du Muséum national d\'Histoire naturelle', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 1], ['Raffles Bulletin of Zoology', 68], ['Records of the Zoological Survey of India', 2], ['ZooKeys', 21], ['Zoological Journal of the Linnean Society', 15], ['Zoological studies', 1], ['Zoosystema', 2], ['Zootaxa', 143] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=343)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);