function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Zoologie und Zootomie', 7], ['Biodiversity Data Journal', 2], ['C. Fritsch', 1], ['Hallageriis', 2], ['K. Vetensk. Acad. N. Handl., Stockholm', 1], ['Laurentius Salvius', 3], ['Memoirs of the Wernerian Natural History Society', 1], ['Naturforscher (Halle)', 3], ['Transactions of the Linnean Society of London', 1], ['Vestnik Zoologii', 1], ['Zoodiversity', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=23)', 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);