{"id":44866,"date":"2023-12-11T18:21:52","date_gmt":"2023-12-12T01:21:52","guid":{"rendered":"https:\/\/www.cafoodbanks.org\/?page_id=44866"},"modified":"2024-09-03T13:35:56","modified_gmt":"2024-09-03T20:35:56","slug":"food-insecurity-data","status":"publish","type":"page","link":"https:\/\/www.cafoodbanks.org\/zh\/food-insecurity-data\/","title":{"rendered":"\u7cae\u98df\u4e0d\u5b89\u5168\u6570\u636e"},"content":{"rendered":"<p>\u8981\u4e86\u89e3\u6700\u65b0\u7684\u7cae\u98df\u4e0d\u5b89\u5168\u6570\u636e\u4ee5\u53ca\u6309\u533a\u57df\u548c\u7279\u5b9a\u4eba\u53e3\u7edf\u8ba1\u4fe1\u606f\u67e5\u770b\u6570\u636e\uff0c\u8bf7\u5355\u51fb\u4e0b\u56fe\u5e76\u5728 Tableau \u4e0a\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<style>\n  \/* Adjust the container size as needed *\/\n  #tableau-container {\n    width: 100%;\n    max-width: 1000px; \/* Set a maximum width to prevent it from stretching too wide *\/\n    margin: 0 auto; \/* Center the container *\/\n  }\n\n  \/* Ensure the Tableau visualization fills the container *\/\n  #tableau-container .tableauViz {\n    width: 100%;\n    height: 100%;\n  }\n<\/style>\n\n<div id=\"tableau-container\">\n  <div class='tableauPlaceholder' id=\"viz1725395589711'\">\n    <object class='tableauViz' width='100%' height='100%'>\n      <!-- Your Tableau parameters -->\n      <param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' \/>\n      <param name='embed_code_version' value='3' \/>\n      <param name='site_root' value='' \/>\n      <param name='name' value='CaliforniaFoodInsecurity&#47;Home' \/>\n      <param name='tabs' value='yes' \/>\n      <param name='toolbar' value='yes' \/>\n      <param name=':aspect_ratio' value='height_to_width' \/> <!-- Maintain aspect ratio -->\n    <\/object>\n  <\/div>\n<\/div>\n\n<script type='text\/javascript' src='https:\/\/public.tableau.com\/javascripts\/api\/viz_v1.js'><\/script>\n<script type='text\/javascript'>\n  var containerElement = document.getElementById('tableau-container');\n  var vizElement = containerElement.querySelector('.tableauViz');\n\n  function resizeViz() {\n    var width = containerElement.offsetWidth;\n    var height = width * (2 \/ 3); \/\/ Set the aspect ratio (adjust as needed)\n\n    vizElement.style.width = width + 'px';\n    vizElement.style.height = height + 'px';\n  }\n\n  \/\/ Resize the viz initially\n  resizeViz();\n\n  \/\/ Resize the viz on window resize\n  window.addEventListener('resize', resizeViz);\n\n  \/\/ Reload the Tableau visualization on window resize for responsiveness\n  window.addEventListener('resize', function() {\n    var vizUrl = vizElement.src;\n    vizElement.src = '';\n    vizElement.src = vizUrl;\n  });\n<\/script>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>For the most current food insecurity data as well as to view data by regional and certain demographics information, click [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_searchwp_excluded":"","footnotes":""},"class_list":["post-44866","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/pages\/44866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/comments?post=44866"}],"version-history":[{"count":29,"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/pages\/44866\/revisions"}],"predecessor-version":[{"id":47752,"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/pages\/44866\/revisions\/47752"}],"wp:attachment":[{"href":"https:\/\/www.cafoodbanks.org\/zh\/wp-json\/wp\/v2\/media?parent=44866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}