function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['ANNALES de SPÉLÉOLOGIE', 1], ['Annales historico-naturales Musei nationalis hungarici', 6], ['Annals and Magazine of Natural History', 1], ['Biodiversity Data Journal', 16], ['Fragmenta Faunistica', 1], ['Journal of Natural History', 4], ['Khumbu Himal', 1], ['Pakistan Journal of Nematology', 1], ['Transactions of the American Microscopical Society', 1], ['Transactions of the Linnean Society of London', 1], ['Zoologischen Anzeiger', 6], ['Zoologischer Anzeiger', 7], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=49)', 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);