function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 165], ['Bulletin of Marine Science', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 8], ['Bulletin of the National Science Museum, Series A, Zoology', 6], ['European Journal of Taxonomy', 17], ['Journal of Natural History', 18], ['Proceedings of the Japanese Society of Systematic Zoology', 2], ['Records of the Australian Museum', 15], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 29], ['Species Diversity', 6], ['ZooKeys', 26], ['Zoological Journal of the Linnean Society', 16], ['Zoologischer Anzeiger', 2], ['Zoosystema', 6], ['Zootaxa', 390], ['Other (4)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=713)', 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);