function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Biodiversity Data Journal', 1], ['Far Eastern Entomologist', 4], ['Fauna of New Zealand', 1], ['Insects of Guam I', 1], ['Insecutor inscitiae menstruus.', 1], ['Journal of Insect Science', 1], ['Proceedings of the Hawaiian Entomological Society', 1], ['ZooKeys', 1], ['Zootaxa', 81] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=93)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);