function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 9], ['Biodiversity Data Journal', 1], ['Bulletins de la Société Malacologique de France', 1], ['European Journal of Taxonomy', 25], ['Journal of Conchology', 1], ['Journal of Natural History', 17], ['Memoirs of the Queensland Museum, Nature', 5], ['National Museum of New Zealand records', 3], ['Nautilus', 13], ['Proceedings of the Malacological Society of London', 1], ['Records of the Auckland Institute and Museum', 1], ['Records of the Auckland Museum', 4], ['Tuhinga: records of the Museum of New Zealand Te Papa Tongarewa', 38], ['ZooKeys', 23], ['Zootaxa', 59], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=202)', 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);