function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Batalleria', 1], ['Geologia Croatica', 1], ['Geological Survey Professional Paper', 1], ['Meddelelser fra Dansk geologisk forening = Bulletin of the Geological Society of Denmark', 1], ['Palaeontology', 2], ['Proceedings of the Boston Society of Natural History', 1], ['Records of the Western Australian Museum', 1], ['Records of the Zoological Survey of India', 2], ['ZooKeys', 35], ['Zoosystematics and Evolution', 6], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);