{"id":190375,"date":"2024-10-29T16:31:37","date_gmt":"2024-10-29T20:31:37","guid":{"rendered":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/chart\/dot-plot\/"},"modified":"2024-10-29T16:31:38","modified_gmt":"2024-10-29T20:31:38","slug":"dot-plot","status":"publish","type":"chart","link":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/chart\/dot-plot\/","title":{"rendered":"dot plot"},"content":{"rendered":"<figure class=\"wp-chart-builder\">\t\t<div style=\"max-width:420px\" class=\"wp-chart-builder-wrapper alignnone wp-block-prc-chart-builder-controller\" data-wp-interactive=\"prc-chart-builder\/controller\" data-wp-context=\"{&quot;id&quot;:null,&quot;postId&quot;:190375,&quot;postUrl&quot;:&quot;https:\\\/\\\/alpha.pewresearch.org\\\/pewresearch-org\\\/chart\\\/dot-plot\\\/&quot;,&quot;chartPostUrl&quot;:&quot;https:\\\/\\\/alpha.pewresearch.org\\\/pewresearch-org\\\/chart\\\/dot-plot\\\/&quot;,&quot;postPubDate&quot;:&quot;2024-10-29&quot;,&quot;rootUrl&quot;:&quot;https:\\\/\\\/alpha.pewresearch.org\\\/pewresearch-org&quot;,&quot;featuredImageId&quot;:null,&quot;featuredImageUrl&quot;:null,&quot;title&quot;:&quot;Dot Plot Chart&quot;,&quot;subtitle&quot;:&quot;A subtitle for the chart&quot;,&quot;note&quot;:&quot;Note: Add note about the chart&quot;,&quot;source&quot;:&quot;Source: Add source note here&quot;,&quot;tag&quot;:&quot;PEW RESEARCH CENTER&quot;,&quot;tableData&quot;:{&quot;header&quot;:[&quot;Independent variable&quot;,&quot;n1&quot;,&quot;n2&quot;],&quot;rows&quot;:[[&quot;Germany&quot;,&quot;30&quot;,&quot;60&quot;],[&quot;Spain&quot;,&quot;50&quot;,&quot;70&quot;],[&quot;France&quot;,&quot;60&quot;,&quot;40&quot;]],&quot;footer&quot;:[]}}\" data-wp-init--detect-web-share-support=\"callbacks.detectWebShareSupport\" data-wp-init--sync-table-height=\"callbacks.syncTableHeight\" data-png-url=\"\" data-has-csv=\"true\" data-post-url=\"https:\/\/alpha.pewresearch.org\/pewresearch-org\/chart\/dot-plot\/\" data-chart-url=\"https:\/\/alpha.pewresearch.org\/pewresearch-org\/chart\/dot-plot\/\" data-chart-title=\"Dot Plot Chart\">\n\t\t\t<div class=\"wp-chart-builder-chart\" data-chart-view=\"chart\" data-allow-overlay=\"true\" data-wp-class--active=\"state.isActive\">\t\t\t<!-- register a callback on this div to see if the native share is supported -->\n\t\t\t<div\n\t\t\t\tclass=\"share-modal__overlay\"\n\t\t\t\tid=\"share-modal__overlay-\"\n\t\t\t\tdata-wp-class--active=\"state.isActive\"\n\t\t\t\tdata-wp-class--web-share-supported=\"state.webShareSupported\"\n\t\t\t\tdata-wp-on--click=\"actions.hideModal\"\n\t\t\t\tdata-wp-on--keydown=\"actions.hideModal\"\n\t\t\t\tdata-chart-view=\"share\"\n\t\t\t><\/div>\n\t\t\t<!-- TODO: I would like to be able to use the social share block here. Need to modify it to work with the share modal. -->\n\t\t\t<div\n\t\t\t\tclass=\"share-modal\" id=\"share-modal-\"\n\t\t\t\tdata-wp-class--active=\"state.isActive\"\n\t\t\t\tdata-wp-class--web-share-supported=\"state.webShareSupported\"\n\t\t\t\tdata-chart-view=\"share\"\n\t\t\t>\n\t\t\t\t<div class=\"share-modal__inner\">\n\t\t\t\t\t<div class=\"share-modal__header\">\n\t\t\t\t\t\t<h2 class=\"share-modal__title\">Share this chart<\/h2>\n\t\t\t\t\t\t<button class=\"share-modal__close\" aria-label=\"Close Share Modal\" data-wp-on--click=\"actions.hideModal\">\n\t\t\t\t\t\t\t<span class=\"dashicons dashicons-no-alt\"><\/span>\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"share-modal__body\">\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"share-modal__button share-modal__button--twitter\"\n\t\t\t\t\t\t\tdata-wp-on--click=\"actions.shareTwitter\"\n\t\t\t\t\t\t\tdata-wp-on--keydown=\"actions.shareTwitter\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span>Share on X<\/span>\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"share-modal__button share-modal__button--facebook\"\n\t\t\t\t\t\t\tdata-wp-on--click=\"actions.shareFacebook\"\n\t\t\t\t\t\t\tdata-wp-on--keydown=\"actions.shareFacebook\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span>Share on Facebook<\/span>\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wp-chart-builder-table\" data-chart-view=\"table\" data-wp-class--active=\"state.isActive\" id=\"-table\" style=\"max-width:420px;\">\t\t\t<hr style=\"margin: 0px 0px 10px; max-width: 420px;\">\n\t\t\t<div class=\"cb__title\">Dot Plot Chart<\/div>\n\t\t\t<div class=\"cb__subtitle\">A subtitle for the chart<\/div>\n\t\t\t<div class=\"wp-chart-builder-table__inner\" style=\"max-width: 420px !important; margin-bottom: 0; overflow: auto;\">\n\t\t\t\t\n<figure class=\"wp-block-prc-block-table chart-builder-data-table has-sans-serif-font-family has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Independent variable<\/th><th>n1<\/th><th>n2<\/th><\/tr><\/thead><tbody><tr><td>Germany<\/td><td>30<\/td><td>60<\/td><\/tr><tr><td>Spain<\/td><td>50<\/td><td>70<\/td><\/tr><tr><td>France<\/td><td>60<\/td><td>40<\/td><\/tr><\/tbody><\/table><\/figure>\n\t\t\t<\/div>\n\t\t\t<hr class=\"cb__download-data-button-hr\">\n\t\t\t<div class=\"cb__download-data-button\">\n\t\t\t\t<a\n\t\t\t\t\tdata-wp-on--click=\"actions.downloadData\"\n\t\t\t\t\tdata-wp-on--keydown=\"actions.downloadData\"\n\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\trole=\"button\"\n\t\t\t\t\tclass=\"has-sans-serif-font-family\"\n\t\t\t\t>\n\t\t\t\t\tDownload data as .csv\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"cb__note\">Note: Add note about the chart<\/div>\n\t\t\t<div class=\"cb__note\">Source: Add source note here<\/div>\n\t\t\t<div class=\"cb__tag\">PEW RESEARCH CENTER<\/div>\n\t\t\t<hr style=\"margin: 10px 0px 0px; max-width: 420px;\">\n\t\t\t<\/div><div class=\"wp-chart-builder-view-buttons\" style=\"max-width:420px;\"><div class=\"wp-chart-builder-view-buttons__tabs\"><button class=\"view-button view-button--chart\" data-chart-view=\"chart\" data-chart-id=\"\" data-wp-on--click=\"actions.setActiveTab\" data-wp-class--active=\"state.isActive\">Chart<\/button><button class=\"view-button view-button--table\" data-chart-view=\"table\" data-chart-id=\"\" data-wp-on--click=\"actions.setActiveTab\" data-wp-class--active=\"state.isActive\">Data<\/button><\/div><div class=\"wp-chart-builder-view-buttons__actions\"><button class=\"view-button view-button--share\" data-chart-view=\"share\" data-chart-id=\"\" data-wp-on--click=\"actions.setActiveTab\" data-wp-class--active=\"state.isActive\">Share<\/button><\/div><\/div>\t\t<\/div>\n\t\t<\/figure>","protected":false},"author":648,"featured_media":0,"template":"","meta":{"sub_headline":"","sub_title":"","_crdt_document":"","_prc_public_revisions":[],"_ppp_expiration_hours":0,"_ppp_enabled":false,"ai_generated_summary":"","design_slug":"","_prc_fork_parent":0,"_prc_fork_status":"","_prc_active_fork":0,"datacite_doi":"","datacite_doi_citation":"","_prc_seo_qr_attachment_id":0,"footnotes":""},"categories":[],"chart_type":[2918],"datasets":[],"level_of_effort":[],"primary_audience":[],"information_type":[],"class_list":["post-190375","chart","type-chart","status-publish","hentry"],"label":false,"post_parent":0,"word_count":42,"canonical_url":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/chart\/dot-plot\/","_embeds":[],"table_of_contents":[],"datacite_doi":"","prc_seo_data":{"title":"dot plot","description":"Independent variablen1n2Germany3060Spain5070France6040","og_title":"dot plot","og_description":"","schema_type":"WebPage","noindex":false,"canonical_url":"","primary_terms":[],"custom_schema":[],"og_image":0,"indexnow_submitted_at":null,"gsc_index_status":null},"prepublish_checks":{},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/chart\/190375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/chart"}],"about":[{"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/types\/chart"}],"author":[{"embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/users\/648"}],"version-history":[{"count":1,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/chart\/190375\/revisions"}],"predecessor-version":[{"id":190376,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/chart\/190375\/revisions\/190376"}],"wp:attachment":[{"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/media?parent=190375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/categories?post=190375"},{"taxonomy":"chart_type","embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/chart_type?post=190375"},{"taxonomy":"datasets","embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/datasets?post=190375"},{"taxonomy":"level_of_effort","embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/level_of_effort?post=190375"},{"taxonomy":"primary_audience","embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/primary_audience?post=190375"},{"taxonomy":"information_type","embeddable":true,"href":"https:\/\/alpha.pewresearch.org\/pewresearch-org\/wp-json\/wp\/v2\/information_type?post=190375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}