function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Academy of Natural Sciences', 1], ['African Invertebrates', 28], ['Archiv für Molluskenkunde', 1], ['Bernice P. Bishop Museum Bulletin', 4], ['Biodiversity Data Journal', 5], ['Check List', 5], ['Contributions of the Maclurian Lyceum to the Arts and Sciences', 2], ['Contributions to Natural History', 3], ['Fossil Imprint', 2], ['Journal de Conchyliologie', 1], ['Journal of Natural History', 2], ['Mémoires du Muséum national d\'Histoire naturelle', 12], ['Proceedings of the Boston Society of Natural History', 3], ['Proceedings of the Zoological Society of London', 4], ['ZooKeys', 37], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=115)', 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);