function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 1], ['Check List', 6], ['Current Herpetology', 3], ['Fossil Record', 1], ['Geodiversitas', 7], ['Herpetological Journal', 2], ['Laurentius Salvius', 3], ['Molecular Ecology', 1], ['Proceedings of the California Academy of Sciences', 2], ['Public Library of Science, ONE', 3], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 11], ['Zoosystema', 1], ['Zoosystematics and Evolution', 1], ['Zootaxa', 108] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=153)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);