function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 3], ['Biodiversity Data Journal', 27], ['European Journal of Taxonomy', 42], ['Fossil Record', 2], ['Geodiversitas', 6], ['Laurentius Salvius', 71], ['Miscellanea Malacologica, 1 - 9', 1], ['Papéis Avulsos de Zoologia', 1], ['Phytotaxa', 1], ['Records of the Australian Museum', 2], ['ZooKeys', 10], ['Zoosystema', 28], ['Zootaxa', 521] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=715)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);