function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 6], ['CHIRONOMUS Journal of Chironomidae Research', 1], ['Comparative Cytogenetics', 6], ['Far Eastern Entomologist', 2], ['Faunus (Gistel\'s)', 1], ['Insects of Guam II', 2], ['Journal of Natural History', 2], ['Magazin fu ̈ r insektenkunde / herausgegeben von Karl Illiger', 1], ['New Zealand Journal of Zoology', 1], ['Philippine Journal of Science, Section D', 1], ['Proc Linn Soc N S W', 1], ['Raffles Bulletin of Zoology', 1], ['West, Newman, & Co', 1], ['ZooKeys', 1], ['Zootaxa', 70] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=97)', 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);