function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 7], ['European Journal of Taxonomy', 2], ['Geodiversitas', 6], ['Johan. Christi. Trappii', 4], ['Journal of Great Lakes Research', 10], ['Journal of Natural History', 7], ['Journal of the Academy of Natural Sciences of Philadelphia', 5], ['Laurentius Salvius', 26], ['Records of the Western Australian Museum', 3], ['The Bulletin of the Russian Far East Malacological Society', 4], ['Zitteliana', 4], ['ZooKeys', 26], ['Zoological Journal of the Linnean Society', 5], ['Zoosystema', 12], ['Zootaxa', 17], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=148)', 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);