function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 24], ['Bulletin of Marine Science', 2], ['European Journal of Taxonomy', 15], ['Journal of Natural History', 1], ['Memoirs of the Museum of Comparative Zoölogy, at Harvard College', 1], ['Papéis Avulsos de Zoologia', 1], ['Records of the Australian Museum', 3], ['ZooKeys', 10], ['Zoologischer Anzeiger', 2], ['Zootaxa', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=96)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);