function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['European Journal of Taxonomy', 18], ['Invertebrate Systematics', 1], ['Journal of Natural History', 14], ['Mémoires du Muséum national d\'Histoire naturelle', 5], ['Papéis Avulsos de Zoologia', 2], ['Raffles Bulletin of Zoology', 10], ['Records of the Zoological Survey of India', 2], ['Transactions of the Linnean Society of London', 1], ['ZooKeys', 38], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=105)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);