function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['European Journal of Taxonomy', 1], ['Invertebrate Systematics', 2], ['Iwanami Shoten', 1], ['Journal of Natural History', 6], ['Journal of molluscan studies', 1], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 1], ['New Zealand Journal of Zoology', 1], ['Papéis Avulsos de Zoologia', 6], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['ZooKeys', 38], ['Zoological Journal of the Linnean Society', 49], ['Zoosystema', 5], ['Zoosystematics and Evolution', 5], ['Zootaxa', 70], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=192)', 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);