function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Aquatic Biology', 4], ['Check List', 12], ['Copeia', 16], ['Evencias', 4], ['Ichthyological Exploration of Freshwaters', 3], ['Laurentii Salvii', 3], ['Laurentius Salvius', 3], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 6], ['Nature Communications', 4], ['Neotropical Ichthyology', 224], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 9], ['Revue française d\'Aquariologie Herpétologie', 5], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 70], ['Zootaxa', 152], ['Other (23)', 31] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=551)', 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);