function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Conchylia', 4], ['European Journal of Taxonomy', 55], ['Invertebrate systematics', 9], ['Journal of Natural History', 3], ['Malacologia', 56], ['Memoirs of the Queensland Museum, Nature', 10], ['Molluscan research', 7], ['Raffles Bulletin of Zoology', 34], ['Records of the Australian Museum', 73], ['The Beagle. Records of the Museums and Art Galleries of the Northern Territory', 4], ['ZooKeys', 330], ['Zoological Journal of the Linnean Society', 60], ['Zoosystema', 6], ['Zoosystematics and Evolution', 5], ['Zootaxa', 19], ['Other (11)', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=690)', 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);