js 獲取上下文后面的路徑_通過在數據后面顯示上下文來可視化公眾意見

js 獲取上下文后面的路徑

In 1824,

The Harrisburg Pennsylvanian, a newspaper from a town in Pennsylvania conducted the first known public opinion polls in history, and successfully predicted the result of the vote in the close race between Andrew Jackson and John Quincy. However, opinion polls do not always reflect the opinions of the whole electorate accurately, especially with limited sample sizes and time gaps between polls and actual voting. In 2016, many media outlets failed to predict the results of the Brexit referendum or the US presidential election accurately, for example. Below, poll tracker shows how poll results were misleading, especially in the tight Brexit race.

Since opinion polls have to be conducted with limited sample sizes, there are three key variables that could influence their accuracy.

1 - Sampling accuracy

The distribution of interviewees’ demographics such as location, educational level, gender, age, or religion should resemble the actual diversity of the population, and the sample size should be large enough to increase this accuracy. Like tasting a stew during cooking, as we stir better, all ingredients are mixed evenly, and we can accurately get the right taste of the stew from a small sample size.

2 - Interviewers’ bias

Because people want to avoid confrontations or want to look good in front of others, interviewees may respond with answers that may sound desirable socially or to interviewers. Interviewers may be able to push interviewees to answer certain ways because of how they ask, push polls.

3 - Time

People in general react more to recent occurrences. Electoral polls usually swing drastically with the latest scandals involving candidates, just as movies or music recently released tend to be selected for awards.

Pros and cons of public opinion polls — Jason Robert Jaffe | TED-ED

When we encounter poll results, it is important to understand these variables more than which side is leading. The context gives us a slightly clearer picture of why one side is leading, and the likelihood of seeing the opposite result. In this post, I collected many visualizations that give context to opinion polls or the vote results of the Brexit referendum and US presidential elections in 2016.

Opinions by Regions

Regions are the first layer representing demographic groups

National elections may be seen as a battle between each region, and their results reflect their different economic, cultural, and demographic backgrounds. Like the New York Times example below, many regions in England and Wales voted to exit, while Scotland and Northern Island, which are far away from the central government voted against. Greater London also voted to remain, reflecting its population consisting of more people with higher education, higher earners, and more foreign-born people, which I’ll discuss more later in the section about demographic distributions.

Image for post
How Britain Voted in the E.U. Referendum | The New York Times

Geographically inaccurate but electorally accurate maps

The chart below by the Guardian is a more accurate representation of the map by distorting it with the population size of each area. In comparison to the New York Times’ map above, the presence of Greater London in voting counts is clearer.

EU referendum: full results and analysis | The Guardian

In the US presidential elections, results in each state are the most important factor since people vote for each state’s representing party, and the number of their seats depends on the population size of each state. Therefore, distorted US maps that represent population size of each state are used often in the US election, instead of ones with geographic accuracy. Many of these maps represent each state using a square with its area representing their electoral vote counts, but it still gives a sense of the geographical relationship between each state (Data Visualization Infographics v.s. Products).

Image for post
Vox’s Liz Scheltens adapted this 2012 electoral map from the New York Times | Image source: Vox
US electoral college calculator | The Economist

Opinions by Each Demographic Group

The following two charts by the Guardian and Financial Times both try to address trends for the Brexit votes based on demographics. For example, younger voters, degree holders, and higher earners overwhelmingly voted to remain, but younger voters consisted of a small percentage to the overall vote counts, resulting in a smaller impact to the result.

Image for post
EU referendum: full results and analysis | The Guardian
Brexit: voter turnout by age | Financial Times

Tracking Opinions Over Time

Changes in supporting parties by demographic groups

The New York Times captured the shift in supporting parties from 2004 by household income levels. Additionally, although lower income groups supported the democratic party historically, education levels correlated even more to shifts in a supporting party for the 2016 election. The Times tracked these shifts by various demographic attributes, such as ethnicity, gender, and education.

Image for post
How Trump Won the Election According to Exit Polls | The New York Times

Demographic pattern and changes in results

The Economist’s team used the data from YouGov to illustrate how supporters for each party repositioned their opinions since 2017 based on May’s deal proposed in 2019.

British voters are unimpressed by Theresa May’s Brexit deal | The Economist

Plots of swing counties and their degrees

The Wall Street Journal plotted each county by their velocity of support to a party and how much that shifted from 2012. The chart below illustrates how the 2016 presidential election caused many swing counties.

Image for post
A Divided America | The Wall Street Journal

Supporting parties for each state historically

Swing states, which don’t have a huge gap between their active supporters for either party, are significant in predicting the US presidential elections. The below chart by the Wall Street Journal illustrates the historical differences between each party’s supporters for each state. This chart can inform us of the trend of the support for party and political directions that are significant for each state.

A Field Guide to Red and Blue America | The Wall Street Journal

Mapping various poll results over time

Voters’ opinions don’t only change between each election — they may change drastically within a single campaign period. Similar to the opinion poll tracker by the Telegraph from the top of this entry, the Guardian mapped various poll results for the 2015 UK election, and drew median lines out of these plots to estimate positions for each party throughout the campaign.

Image for post
Election 2015: The Guardian poll projection | The Guardian

How each county swung in 2018 from 2016

The Guardian used a shifting arrow map to illustrate Democrats’ gain for the House of Representatives by showing how each region swung for the 2018 midterm since the last election. Democrats increased their support in large areas where Donald Trump dominated in 2016. Larger blue arrows demonstrate greater regrets in 2016, and tracking these velocities similarly by polls could suggest the next electoral results.

Blue wave or blue ripple? A visual guide to the Democrats’ gains in the midterms | The Guardian

Chance of Misleading Poll Results

Image for post

In 1948, Gallup predicted that 49.5% of the public would vote Thomas Dewey for the presidency, but the real result was almost the reverse: Truman for 49.6% and Dewey for 45.1%. Chicago Daily Tribune published the famous headline “Dewey Defeats Truman” based on the polling data. Although Gallup mentions that their accuracy improved dramatically after the 60s, they were wrong in recent elections including 2000, 2012, and 2016.

Nowadays, voters are online and have closer access to information including numbers of opinion polls conducted by various media outlets. If poll results suggest your supporting side was going to win, these poll results may discourage you to bother going to vote. Closer access to data is also true and crucial for candidates — last minute stories drastically influence voters’ minds, and this velocity is getting greater as modern campaigns become more online with the greater access to real-time data.

Illustrating the likelihood to swing participants’ opinions

The Economist’s team used a “ternary” plot instead of the common two-dimentional plot for the Brexit poll data — their attempt was to portray how poll participants were likely to position for supporting remain, leave, or leave without the deal based on their responses and their likelihood to change their opinions based on their demographics.

Plotting the Brexit conundrum — When two-dimensional scatters aren’t sufficient, turn to the ternary chart | The Economist on Medium

Elections also do not always represent the public opinion accurately

The Economist’s analytical team ran a model based on various polls to suggest how the 2016 US election would have resulted if all Americans voted. The simulation suggests Clinton would win over Trump, which was also suggested by predictions based on polls before the actual election.

Image for post
Would Donald Trump be president if all Americans actually voted? | The Economist on Medium

在1824年,

賓夕法尼亞州一個小鎮的報紙《哈里斯堡賓夕法尼亞州》進行了歷史上首次已知的民意測驗,并成功預測了安德魯·杰克遜和約翰·昆西之間親密比賽的投票結果。 但是,民意調查并不總是能準確反映出全體選民的意見,特別是在樣本量有限以及民意調查與實際投票之間的時間間隔有限的情況下。 例如,2016年,許多媒體未能準確預測英國退歐公投或美國總統大選的結果。 下面,民意調查跟蹤器顯示民意調查結果如何產生誤導,尤其是在激烈的英國退歐競賽中。

由于民意測驗必須以有限的樣本量進行,因此存在三個可能影響其準確性的關鍵變量。

1-采樣精度

受訪者的人口統計信息(例如位置,教育水平,性別,年齡或宗教信仰)的分布應類似于人口的實際多樣性,并且樣本量應足夠大以提高準確性。 就像在烹飪過程中品嘗燉肉一樣,隨著我們更好地攪拌,所有成分均被混合均勻,并且我們可以從少量樣品中準確地獲得燉菜的正確口味。

2- 觀眾的偏見

因為人們想要避免對抗或想在別人面前看起來很好,所以受訪者可能會做出聽起來可能是社會上或受訪者希望的答案。 采訪者可能會因為他們的詢問方式, 推動民意測驗而促使受訪者回答某些問題。

3-時間

人們通常對最近發生的事情有更多的React。 選舉通常與涉及候選人的最新丑聞大相徑庭,就像最近發布的電影或音樂往往被選為獎項一樣。

輿論民意測驗的利與弊— Jason Robert Jaffe | 泰德

當我們遇到民意測驗結果時,重要的是要了解這些變量,而不是領先于哪一方。 通過上下文,我們可以更清楚地了解到一側為何領先以及看到相反結果的可能性。 在這篇文章中,我收集了許多可視化內容,這些內容為民意調查或英國退歐公投和2016年美國總統選舉的投票結果提供了背景信息。

各地區意見

區域是代表人口群體的第一層

全國大選可以看作是每個地區之間的斗爭,其選舉結果反映了不同的經濟,文化和人口背景。 就像下面的《紐約時報》的例子一樣,英格蘭和威爾士的許多地區投票退出,而遠離中央政府的蘇格蘭和北島投票反對。 大倫敦地區也投票決定保留,以反映其人口,其中包括更多受過高等教育的人,收入更高的人以及更多在外國出生的人,我將在后面有關人口分布的部分中討論更多。

英國如何在歐盟公投中投票 紐約時報

地理上不準確但選舉上準確的地圖

《衛報》下方的圖表通過將每個區域的人口規模進行扭曲來更準確地表示地圖。 與上面的《紐約時報》的地圖相比,大倫敦的投票人數更加清楚。

圖片發布
歐盟公投:完整結果與分析| 守護者

在美國總統選舉中,自從人們投票支持每個州的代表黨以來,每個州的選舉結果都是最重要的因素,其席位數量取決于每個州的人口規模。 因此,代表美國各州人口規模的失真的美國地圖通常會在美國大選中使用,而不是使用具有地理準確性的地圖。 這些地圖中的許多地圖都使用正方形來表示每個州,其面積代表其選舉人的票數,但仍然可以看出每個州之間的地理關系( 數據可視化圖表與產品 )。

Vox的Liz Scheltens改編了《紐約時報》的這張2012年選舉地圖| 圖片來源: Vox
圖片發布
美國選舉學院計算器| 經濟學家

每個人口群體的意見

《衛報》和《金融時報》的以下兩張圖表都試圖根據人口統計數據來解決英國退歐投票的趨勢。 例如,年輕的選民,學位持有者和收入較高的選民壓倒性地選擇留下,但年輕的選民在總投票數中所占的比例很小,對結果的影響較小。

歐盟公投:完整結果與分析| 守護者
圖片發布
英國脫歐:按年齡劃分的選民投票率| 金融時報

隨時間跟蹤意見

人口統計群體對支持方的變化

《紐約時報》從2004年開始根據家庭收入水平反映了支持政黨的轉變。 此外,盡管低收入群體在歷史上一直支持民主黨,但教育水平與2016年大選支持黨的轉變甚至更多相關。 泰晤士報通過各種人口統計屬性(例如種族,性別和教育)跟蹤了這些變化。

根據出口民意測驗,特朗普如何贏得選舉 紐約時報

人口特征和結果變化

《經濟學人》團隊使用YouGov的數據來說明自2019年以來,各方的支持者如何根據2019年5月提出的交易重新定位自己的觀點。

圖片發布
英國選民對特蕾莎·梅的脫歐協議印象深刻| 經濟學家

搖擺縣的情節及其程度

《華爾街日報》根據每個縣對政黨的支持速度以及自2012年以來的變化情況來繪制每個縣。下圖說明了2016年總統大選如何導致許多搖擺縣。

分裂的美國 華爾街日報

歷史上每個州的支持方

搖擺不定的州在對任何一方的積極支持者之間沒有很大差距,對預測美國總統大選具有重要意義。 《華爾街日報》(Wall Street Journal)下圖顯示了各州支持者之間各州之間的歷史差異。 該圖可以告訴我們支持對每個州都重要的政黨和政治方向的趨勢。

圖片發布
《紅色和藍色美國》實地指南| 華爾街日報

隨時間映射各種民意調查結果

選民的意見不僅會在每次選舉之間發生變化,而且可能在單個競選期間發生巨大變化。 與《電訊報》從頂部開始的民意測驗追蹤器類似,《衛報》繪制了2015年英國大選的各種民意測驗結果,并從這些情節中繪制了中位數線,以估計整個競選期間各方的立場。

2015年大選:《衛報》民意測驗| 守護者

從2016年開始,每個縣在2018年如何變化

《衛報》使用不斷變化的箭頭地圖,通過顯示自上次大選以來各地區在2018年中期選舉中的變動情況,來說明民主黨在眾議院的利益。 民主黨人在2016年唐納德·特朗普(Donald Trump)統治的廣大地區增加了支持。較大的藍色箭頭在2016年表示更大的遺憾,而通過民意調查追蹤這些速度可能暗示下一次選舉結果。

圖片發布
藍色波浪還是藍色波紋? 民主黨中期選舉成果的視覺指南| 守護者

產生誤導性投票結果的機會

蓋洛普(Gallup)在1948年預測,有49.5%的公眾將投票選舉托馬斯·杜威(Thomas Dewey)為總統,但真正的結果幾乎是相反的:杜魯門(49.6%)和杜威(45.1%)。 根據民意調查數據,《芝加哥每日論壇報》發表了著名的標題“杜威擊敗杜魯門”。 盡管蓋洛普(Gallup)提到他們的準確性在60年代后大為提高,但在包括2000年,2012年和2016年在內的最近選舉中,他們的說法是錯誤的。

如今,選民已經上網,可以更緊密地訪問各種媒體所進行的民意調查等信息。 如果民意調查結果表明您的支持方將獲勝,這些民意調查結果可能會阻止您去投票。 對候選人而言,更緊密地訪問數據也至關重要,這是至關重要的-最后一刻的故事會極大地影響選民的思想,并且隨著現代競選活動越來越在線化,對實時數據的訪問越來越多,這一速度越來越大。

說明擺動參與者意見的可能性

經濟學家團隊使用“三元”圖代替通用的二維圖來獲得英國脫歐民意測驗數據–他們的嘗試是根據受訪者的React描繪民意測驗參與者在未達成協議情況下如何支持留任休假休假的立場以及他們根據人口統計資料改變看法的可能性。

圖片發布
繪制英國退歐難題-當二維散射還不夠時,請轉到三元圖| 中等經濟學家

選舉也并不總是能準確地代表民意

《經濟學人》的分析團隊根據各種民意測驗運行了一個模型,以表明如果所有美國人都投票,2016年美國大選將會如何。 模擬表明克林頓將贏得特朗普,這是根據在實際選舉之前的民意測驗得出的預測。

如果所有美國人都實際投票,唐納德·特朗普(Donald Trump)將擔任總統嗎? | 中等經濟學家

翻譯自: https://uxdesign.cc/visualizing-public-opinions-by-surfacing-context-behind-data-5f962531f020

js 獲取上下文后面的路徑

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/276048.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/276048.shtml
英文地址,請注明出處:http://en.pswp.cn/news/276048.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

甘肅甘南步班郵遞員:草原上的“遞愛”艱途

圖為甘肅甘南藏族自治州碌曲縣郎木寺鎮郵政支局的投遞員進行投遞工作。(資料圖) 鐘欣 攝 中新網蘭州1月25日電 (吳玉蒿)漸近春節,劉權英投遞郵件的工作愈加繁重。現年45歲的劉權英是甘肅甘南藏族自治州碌曲縣郎木寺鎮郵政支局的一名投遞員。由…

核心編程6——線程

Note 0:了進程實際是由兩個組件組成的:一個進程內核對象和一個地址空間.類似地,線程也由兩個組件組成:一個是線程的內核對象,操作系統用它管理線程.內核對象還是系統用來存放線程統計信息的地方.一個線程堆棧,用于維護線程執行時所需的所有函數參數和局部變量.Note 1:進程是有惰…

PHP解決搶購、秒殺、搶樓、抽獎等阻塞式高并發庫存防控超量的思路方法

轉載鏈接:http://www.4u4v.net/thinking-approach-to-buy-spike-grab-floor-sweepstakes-and-other-high-concurrent-blocking-prevention-excess-inventory-solve-php.html 如今在電商行業里,秒殺搶購活動已經是商家常用促銷手段。但是庫存數量有限,而同…

看了就會的 Node.js 三大基礎模塊常用 API

大家好,我是若川。歡迎加我微信 ruochuan12,加群交流學習。今天分享一篇nodejs基礎的文章。點擊下方卡片關注我,或者查看源碼等系列文章。在日常使用 Node 進行開發的時候,會使用到一些文件系統、路徑操作等基礎 API,這…

vue-cli3插件初體驗

vue-cli3發布自2018年8月,距離現在還不是特別久,最好搭建項目剛好用到,所以寫下這篇文章,記錄一下踩坑經歷。vue的作者說過,vue-cli的本質是模版的拉取,太多的配置導致了模版的難以維護,所以重構…

ios設計登錄功能_親愛的產品設計師,這是iOS 14的新功能

ios設計登錄功能On June 22, 2020 Apple previewed iOS 14 for the first time. As always there are quite some changes you should know about as a product designer like widgets, pickers, app clips, permissions and more.2020年6月22日,Apple首次預覽iOS 1…

c++ int 轉 short_C/C++結構體內存對齊

在面試或工作中,經常會遇到內存對齊的問題。這里結合我的理解談一談對內存對齊的理解。1. 為什么要內存對齊,不對齊會怎么樣?內存中存放數據是為了給CPU使用,CPU訪問內存數據時會受到地址總線寬度的限制,也就是一次能從…

對于日訪問量達到1W IP的處理方法

轉自:http://www.java123.net/56026-2.html 對于日訪問量達到1W IP的處理方法 一、1萬ip真是不高: 1.常用數據用緩存,減輕數據庫壓力。 2.詳細頁數據生成靜態頁面。 二、10000算是相當小的了,不需要什么特殊的處理機制,只要符合最一般的…

數據契約(DataContract)

WCF第一要素就是契約: 服務契約用于聲明可用于遠程訪問的類型。在Interface或class開始處使用服務契約標簽. [ServiceContract] Public interface Iservice { } 接口調用契約的好處: 1. 同一服務類型可以實現多個不相干的服務契約. 2. 有利于版本升級 3. 按照…

jakob slam_Jakob Nielsen針對用戶界面設計的第二種可用性啟發法

jakob slamIn the pursuit of providing great user experiences, it’s imperative that digital products are evaluated. A 為了提供出色的用戶體驗,必須對數字產品進行評估。 一個 heuristic evaluation is essential to delivering great user experiences. I…

微軟Office 365正式上架Mac App Store

今天,Office 365正式在Mac App Store上架,Mac用戶可以輕松下載Word,Outlook,Excel,PowerPoint,OneNote以及整套微軟的熱門應用程序。用戶還可以從應用程序內訂購Office 365。蘋果全球開發者關系高級主管Sha…

一文搞懂瀏覽器原理

大家好,我是若川。最近這幾年,云計算的普及和 HTML5 技術的快速發展,越來越多的應用轉向了瀏覽器 / 服務器(B/S)架構,這種改變讓瀏覽器的重要性與日俱增,視頻、音頻、游戲幾大核心場景也都在逐漸…

python處理excel可視化_python如何將excel數據處理可視化

python將excel數據處理可視化的方法:首先安裝xlrd與xlwt庫,進行表格讀取;然后使用pyecharts生成Echarts圖表的類庫;最后安裝Echarts讀取Excel數據及顯示即可。python將excel數據處理可視化的方法:Excel表操作python操作…

dataframe中將一列數據切分成多列

為什么80%的碼農都做不了架構師&#xff1f;>>> 原sheet中數據 目的 將【備注】列切分成【key】列和【value】列 Python sheet[key] sheet[備注].str.extract(r(_.*(?\u503c))) sheet[value] sheet[備注].str.extract(r((?<).*))結果 參考 pandas.Series.st…

matplotlib可視化_EDA:Geopandas,Matplotlib和Bokeh中的可視化

matplotlib可視化Nowadays, everyone is immersed with plenty of data from news sources, cellphones, laptops, workplaces, and so on. Data conveys with tons of information from different data variables like date, string, numeric, and geographical format. How t…

(轉)結婚那天,媽問我:坐在角落里象兩個要飯模樣的人是誰?

人人看到的文章 很感人~~~~結婚那天&#xff0c;媽問我&#xff1a;坐在角落里象兩個要飯模樣的人是誰&#xff1f; 我看過去的時候&#xff0c;有個老頭正盯著我&#xff0c;旁邊還有個老太太&#xff0c;發現我看著他們時趕忙低下頭。我不認識他們但也不象要飯的&#xff0c;…

nginx-1.13.x源碼安裝

Nginx 安裝配置【依賴庫】[ zlib ]&#xff08;下載&#xff09;http://download.chinaunix.net/download.php?id24013&ResourceID12241 [ pcre ]apt-get install libpcre-dev[ openssl ]&#xff08;下載&#xff09;http://download.chinaunix.net/download.php?id3937…

小技巧!CSS 整塊文本溢出省略特性探究

大家好&#xff0c;我是若川。歡迎加我微信 ruochuan12&#xff0c;長期交流學習。今天的文章很有意思&#xff0c;講一講整塊文本溢出省略打點的一些有意思的細節。點擊下方卡片關注我&#xff0c;或者查看源碼系列文章。文本超長打點我們都知道&#xff0c;到今天&#xff08…

linux配置ip地址 suse_SUSE Linux下設置IP的兩種方法

第一種SUSE Linux IP設置方法ifconfig eth0 192.168.1.22 netmask 255.255.255.0 uproute add default gw 192.168.1.2釋義&#xff1a;#IP配置&#xff0c;包括子網掩碼,看情況修改eth0和192.168.1.22#網關修改 ,看情況修改192.168.1.2第二種SUSE Linux IP設置方法在suse操作系…

寒假作業3:抓老鼠啊

7-1 抓老鼠啊~虧了還是賺了&#xff1f; &#xff08;20 分&#xff09; 某地老鼠成災&#xff0c;現懸賞抓老鼠&#xff0c;每抓到一只獎勵10元&#xff0c;于是開始跟老鼠斗智斗勇&#xff1a;每天在墻角可選擇以下三個操作&#xff1a;放置一個帶有一塊奶酪的捕鼠夾(T)&…