function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 2], ['Aqua, Journal of Ichthyology and Aquatic Biology', 1], ['Biodiversity Data Journal', 2], ['Check List', 1], ['Copeia', 2], ['Ichthyological Exploration of Freshwaters', 2], ['International Journal of Pure and Applied Zoology', 2], ['Journal of Natural History', 5], ['Journal of Threatened Taxa', 1], ['Memoirs of the California Academy of Sciences', 1], ['Mitteilungen aus dem Hamburgischen Zoologischen Museum und Institut', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Raffles Bulletin of Zoology', 2], ['Turkish Journal of Zoology', 2], ['Zootaxa', 22], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', 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);