function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Avicennia', 1], ['Biodiversity Data Journal', 1], ['Gazelle The Palestinian Biological Bulletin', 1], ['Iwanami Shoten', 3], ['Journal of Natural History', 1], ['Journal of molluscan studies', 1], ['Journal of the Elisha Mitchell Scientific Society', 1], ['Kamchatpress', 1], ['New Zealand Journal of Zoology', 1], ['Proceedings of the Royal Zoological Society of New South Wales', 2], ['Publications of the Seto Marine Biological Laboratory', 3], ['Veliger', 2], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 21], ['Zootaxa', 23], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=71)', 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);