function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 82], ['Biodiversity Data Journal', 9], ['Geodiversitas', 4], ['Journal of Natural History', 10], ['Mémoires du Muséum national d\'Histoire naturelle', 53], ['PaleoBios', 9], ['Records of the Australian Museum', 167], ['The Bulletin of the Russian Far East Malacological Society', 8], ['US Geological Survey Professional Paper', 1], ['Zitteliana', 25], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 5], ['Zoosystema', 72], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=478)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);