function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Romaniae', 1], ['American Museum Novitates', 2], ['Biodiversity Data Journal', 5], ['Geodiversitas', 5], ['Journal of Natural History', 23], ['PaleoBios', 4], ['Raffles Bulletin of Zoology', 6], ['Records of the Australian Museum', 1], ['The Bulletin of the Russian Far East Malacological Society', 2], ['Zitteliana', 3], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 19], ['Zoologischer Anzeiger', 3], ['Zootaxa', 16] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=92)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);