<!--n2css--><!--n2js--><script id="apexcharts-js" src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
{"id":114,"date":"2026-06-09T12:24:11","date_gmt":"2026-06-09T19:24:11","guid":{"rendered":"http:\/\/culturecrew.arizonaccc.com\/?page_id=114"},"modified":"2026-06-09T13:39:17","modified_gmt":"2026-06-09T20:39:17","slug":"leaderboard","status":"publish","type":"page","link":"https:\/\/culturecrew.arizonaccc.com\/index.php\/leaderboard\/","title":{"rendered":"Leaderboard"},"content":{"rendered":"    <style type=\"text\/css\">\n        \/* Hide the container column housing the dynamic Event calendar output *\/\n        .wp-block-column:has(.mec-wrap),\n        .wp-block-column:has(h3:contains(\"Upcoming Events\")),\n        aside.sidebar-primary,\n        #secondary {\n            display: none !important;\n        }\n        \/* Force the chart container column to span full screen width *\/\n        .wp-block-columns:has(.mec-wrap) .wp-block-column:first-child,\n        #primary {\n            width: 100% !important;\n            flex-basis: 100% !important;\n            max-width: 100% !important;\n        }\n    <\/style>\n\n    <div id=\"readonly-chart-container\" style=\"width: 100%; max-height: 460px; margin: 20px 0; font-family: 'Ubuntu', sans-serif;\">\n        <h3 id=\"leaderboard-title\" style=\"text-align: center; margin-bottom: 10px; color: #333; font-weight: 500;\"><\/h3>\n        <div id=\"chart\"><\/div>\n    <\/div>\n\n    <script type=\"text\/javascript\">\n        document.addEventListener('DOMContentLoaded', function () {\n            const chartData = {\"locations\":[\"DERM - Modern Dermatology    \",\"Urology - Affiliated Urology    \",\"Radiation - Osborn    \",\"CBCAZ - Avondale\\\/Surprise    \",\"HHCC - Peoria    \",\"HHCC - Surprise    \",\"Radiation - Deer Valley    \",\"Radiation - Peoria    \",\"Urology - VUS    \",\"CBCAZ - Deer Valley    \",\"CBCAZ - Gilbert    \",\"CBCAZ - JCL    \"],\"series\":[{\"name\":\"Attend Event\",\"data\":[0,0,0,0,0,0,0,0,0,0,0,0]},{\"name\":\"Culture Crew Ambassador\",\"data\":[0,0,0,0,0,0,0,0,0,0,0,0]},{\"name\":\"Nominate Colleague\",\"data\":[10,0,0,0,0,0,0,0,0,0,0,0]},{\"name\":\"Photo Submission\",\"data\":[0,0,0,0,0,0,0,0,0,0,0,0]},{\"name\":\"Receive Nomination\",\"data\":[20,0,0,0,0,0,0,0,0,0,0,0]},{\"name\":\"Spirit Day\",\"data\":[0,30,0,10,10,10,10,10,10,0,0,0]},{\"name\":\"Volunteer Event\",\"data\":[0,0,0,0,0,0,0,0,0,0,0,0]},{\"name\":\"Win Clinic Competition\",\"data\":[0,0,25,0,0,0,0,0,0,0,0,0]},{\"name\":\"Win Compass Award\",\"data\":[0,0,0,0,0,0,0,0,0,0,0,0]}],\"viewing_month\":\"July\"};\n            \n            if (!chartData || !chartData.locations || chartData.locations.length === 0) {\n                document.getElementById('chart').innerHTML = \"<p style='text-align: center; color: #666; padding: 40px 0;'>No challenge logging data recorded.<\/p>\";\n                return;\n            }\n\n            document.getElementById('leaderboard-title').innerText = \"Clinic Challenge Top 12 \u2014 \" + chartData.viewing_month;\n\n            const options = {\n                chart: {\n                    type: 'bar',\n                    stacked: true,\n                    height: 540,\n                    width: '100%',\n                    toolbar: { show: false },\n                    zoom: { enabled: false },\n                    fontFamily: '\"Ubuntu\", sans-serif'\n                },\n                grid: {\n                    padding: {\n                        left: 10,\n                        right: 20\n                    }\n                },\n                colors: ['#5C768D', '#E07A5F', '#F4A261', '#E9C46A', '#2A9D8F', '#457B9D', '#8D99AE', '#B56576', '#00928F'],\n                series: chartData.series,\n                plotOptions: {\n                    bar: {\n                        horizontal: true,\n                        borderRadius: 4,\n                        barHeight: '70%'\n                    }\n                },\n                dataLabels: { enabled: false },\n                xaxis: {\n                    categories: chartData.locations,\n                    labels: {\n                        style: {\n                            fontSize: '12px',\n                            fontWeight: 500\n                        }\n                    }\n                },\n                yaxis: {\n                    \/\/ FIX: Set explicit channel width to handle the text array layout cleanly\n                    width: 250,\n                    labels: {\n                        show: true,\n                        align: 'left',\n                        minWidth: 240,\n                        maxWidth: 240,\n                        offsetX: -5, \n                        style: {\n                            fontSize: '12px',\n                            fontWeight: 500\n                        }\n                    }\n                },\n                tooltip: {\n                    enabled: true,\n                    shared: true,\n                    intersect: false,\n                    followCursor: true,\n                    y: { \n                        formatter: function(val, opts) {\n                            if (val > 0) {\n                                return val + \" points\";\n                            }\n                            return null;\n                        }\n                    }\n                },\n                legend: {\n                    position: 'bottom',\n                    horizontalAlign: 'center',\n                    fontSize: '13px',\n                    offsetY: 7\n                }\n            };\n\n            const chart = new ApexCharts(document.querySelector(\"#chart\"), options);\n            chart.render();\n        });\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"_kad_post_transparent":"","_kad_post_title":"default","_kad_post_layout":"normal","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":"","_tec_slr_enabled":"","_tec_slr_layout":""},"class_list":["post-114","page","type-page","status-publish","hentry"],"ticketed":false,"_links":{"self":[{"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/pages\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":2,"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/pages\/114\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/pages\/114\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/culturecrew.arizonaccc.com\/index.php\/wp-json\/wp\/v2\/media?parent=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}