function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the South African Museum', 1], ['Biodiversity Data Journal', 14], ['Bulletin of Marine Science', 2], ['Bulletin of the Toyama Science Museum', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['European Journal of Taxonomy', 8], ['Journal of Natural History', 32], ['Publications from the Amakusa Marine Biological Laboratory Kyushu University', 1], ['Species Diversity', 1], ['The American Journal of Science and Arts, Series 3', 1], ['ZooKeys', 7], ['Zoosystematics and Evolution', 6], ['Zootaxa', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=84)', 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);