function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Annals and magazine of natural history', 2], ['Biodiversity Data Journal', 10], ['Marine Biodiversity Records', 1], ['MycoKeys', 3], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Species Diversity', 5], ['Zoological Journal of the Linnean Society', 41], ['Zoosystema', 114], ['Zootaxa', 265] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=443)', 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);