function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Marine Science', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['European Journal of Taxonomy', 1], ['Journal of Natural History', 3], ['Journal of Species Research', 3], ['Kungliga Svenska Vetenskapsakademiens Handlingar, Ny Följd', 1], ['List of the Specimens of Lepidopterous Insects in the Collection of the British Museum', 1], ['Nauplius', 2], ['Records of the Australian Museum', 14], ['Species Diversity', 6], ['ZooKeys', 1], ['Zootaxa', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=59)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);