function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amurian Zoological Journal', 1], ['Bulletin of the National Science Museum', 1], ['European Journal of Taxonomy', 4], ['Horæ Societatis Entomologicæ Rossicæ', 1], ['Journal of Biogeography', 1], ['Journal of Natural History', 8], ['Papéis Avulsos de Zoologia', 1], ['PeerJ', 1], ['Transactions of the Linnean Society of London, Second Series. Zoology', 3], ['Turkish Journal of Zoology', 2], ['ZooKeys', 21], ['Zoological Journal of the Linnean Society', 26], ['Zoological Science', 3], ['Zoosystematics and Evolution', 2], ['Zootaxa', 74], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=151)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);