CINXE.COM
Highest Numbers of Users Attacked with Ransomware
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="http://cdn3.chartsbin.com/css/3.31-min.css" type="text/css"> <link rel="alternate" type="application/rss+xml" href="http://feed.chartsbin.com/chartsbinlatest" title="ChartsBins Latest updates"> <link rel="icon" href="http://cdn3.chartsbin.com/images/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="http://cdn3.chartsbin.com/images/favicon.ico" type="image/x-icon"> <meta name="copyright" content="Copyright ChartsBin - 2011"> <meta name="author" content="ChartsBin"> <meta name="Distribution" content="Global"> <meta name="Rating" content="General"> <meta name="Robots" content="INDEX,FOLLOW"> <meta name="Revisit-after" content="7 Days"> <!--DoubleClick ad code start --> <script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'> </script> <script type='text/javascript'> try{ GS_googleAddAdSenseService("ca-pub-6729665102039572"); GS_googleEnableAllServices(); }catch(e){} </script> <script type='text/javascript'> try{ GA_googleAddSlot("ca-pub-6729665102039572", "view_page_above_chart_big"); GA_googleAddSlot("ca-pub-6729665102039572", "view_page_below_related_chart"); }catch(e){} </script> <script type='text/javascript'> try{ GA_googleFetchAds(); }catch(e){} </script> <!-- DoubleClick ad code end--> <script type="text/javascript"> function loadScript(a){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src=a;(document.getElementsByTagName('body')[0]||document.getElementsByTagName('head')[0]).appendChild(e)} document.write(unescape("%3Cscript src='http://cdn3.chartsbin.com/js/3.31-min.js' type='text/javascript'%3E%3C/script%3E")); </script> <style type="text/css">#my_chart{ background: none no-repeat scroll center 0 transparent; text-align: center}</style> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8"> <script type="text/javascript" src="http://cdn3.chartsbin.com/js/cbc-0.6.js"></script> <style type="text/css">svg{shape-rendering:optimizeSpeed}</style> <title>Highest Numbers of Users Attacked with Ransomware</title> <link rel="image_src" href="http://cdn3.chartsbin.com/chartimages/l_45240_2d1ff9a6bd6fa25ed8558d2193e0f4ba" > <meta name="thumbnail" content="http://cdn3.chartsbin.com/chartimages/l_45240_2d1ff9a6bd6fa25ed8558d2193e0f4ba"> <meta name="description" content="This chart shows Countries with Highest Number of Users Attacked with Ransomware. Ransomware is a type of malicious software from cryptovirology that threatens to publish the victim's data or perpetually block access to it unless a ransom is paid. Wh"> <meta name="keywords" content="Attacks, Ransomware, Country ,World,research,data,stats,statistics,reference,map,gis"> <meta property="og:title" content="Highest Numbers of Users Attacked with Ransomware"/> <meta property="og:type" content="article"/> <meta property="og:site_name" content="ChartsBin"/> <meta property="og:url" content="http://chartsbin.com/view/45240"/> <meta property="og:image" content="http://cdn3.chartsbin.com/chartimages/l_45240_2d1ff9a6bd6fa25ed8558d2193e0f4ba"/> <meta property="fb:admins" content="1076167130" /> </head> <body> <div id="doc4"> <div id="hd"> <!--<div class="notice box_round">Please check this out: <a href="http://chartsbin.com/project/urban_water.html">Today is World Water Day<a></div>--> <div id="topnav"> <a href="http://chartsbin.com/about/apply" title="Create your own interactive chart">Register to create your own interactive chart</a> | <a href="https://chartsbin.com/login" title="ChartsBin.com Login">Login »</a> </div> <div id="logo"><a href="/" title="ChartsBin.com Home"><img height="32" width="170" alt="ChartsBin.com Logo" src="http://cdn3.chartsbin.com/images/logo_new.png"></a></div> <div id="cse-search-form"> <form action="http://chartsbin.com/search.php" id="cse-search-box"> <input type="hidden" name="cx" value="partner-pub-6729665102039572:6542568855"> <input type="hidden" name="cof" value="FORID:10"> <input type="hidden" name="ie" value="UTF-8"> <input type="text" name="q" size="55" class="gsc-input" autocomplete="off"> <button type="submit" class="btn gsc-button" name="sa"><span class="text" style="padding:0 10px 2px;">Search</span></button> </form> </div> <div id="toplinks" class="box_shadow"> <ul> <li><a class="" href="http://chartsbin.com/graph" style="margin: 0 0 0 0.5em;padding:2px;border-right: 2px solid #FFFFFF;"><span class="text cb32icon home">All</span></a></li> <li><a class="" href="http://chartsbin.com/graph/country_info">Country info</a></li> <li><a class="" href="http://chartsbin.com/graph/drugs_and_crime">Drugs & Crime</a></li> <li><a class="" href="http://chartsbin.com/graph/environment">Environment</a></li> <li><a class="" href="http://chartsbin.com/graph/economic">Economic</a></li> <li><a class="" href="http://chartsbin.com/graph/food_and_agriculture">Food & Agriculture</a></li> <li><a class="" href="http://chartsbin.com/graph/health">Health</a></li> <li><a class="" href="http://chartsbin.com/graph/social">Social</a></li> <li><a class="" href="http://chartsbin.com/graph/society">Society</a></li> </ul> <ul style="float: right;"> <li><a style="text-align: right; width: 130px; background-color:#2D2D2D !important; color:#cacaca !important;">More ▼</a> <ul> <li><a class="" href="http://chartsbin.com/graph/education">Education</a></li> <li><a class="" href="http://chartsbin.com/graph/energy">Energy</a></li> <li><a class="" href="http://chartsbin.com/graph/immigration">Immigration</a></li> <li><a class="" href="http://chartsbin.com/graph/infrastructure">Infrastructure</a></li> <li><a class="" href="http://chartsbin.com/graph/information_and_communication_technology">Information & Communication Technology</a></li> <li><a class="" href="http://chartsbin.com/graph/people">People</a></li> <li><a class="" href="http://chartsbin.com/graph/population">Population</a></li> <li><a class="" href="http://chartsbin.com/graph/religion">Religion</a></li> <li><a class="" href="http://chartsbin.com/graph/sports">Sports</a></li> <li><a class="" href="http://chartsbin.com/graph/tourism">Tourism</a></li> <li><a class="" href="http://chartsbin.com/graph/work">Work</a></li> <li><a class="" href="http://chartsbin.com/graph/others">Others</a></li> </ul> </li> </ul> <div class="clear"></div> </div> <!--<div class="crumb-nav"><a href="/" title="ChartsBin.com Home">Home</a> » <a href="/graph" title="List of All Visualizations">List of All Visualizations</a> » </div>--> <div style="margin-top: .5em;"> <div class="ads-728x90"> <!-- view_page_above_chart_big --> <script type='text/javascript'> try{ GA_googleFillSlot("view_page_above_chart_big"); }catch(e){} </script> <!--<img src="https://www.google.com/adsense/static/en_US/images/leaderboard_img.jpg">--> </div> <div class="ads-200x90 description"> <!--<a href="/about/apply"><img width="200" height="90" src="http://cdn3.chartsbin.com/images/ad1.png"></a>--> <form onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=ChartsbinLatest', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow" method="post" action="http://feedburner.google.com/fb/a/mailverify" style="text-align: center;"><p><b>Get free updates by Email</b></p><p style="margin-bottom: 4px;"><input type="text" name="email" style="width: 140px;" class="textfield"></p><input type="hidden" name="uri" value="ChartsbinLatest"><input type="hidden" value="en_US" name="loc"><button aria-disabled="false" class="btn" type="submit"><span class="text">Get Email Updates!</span></button></form> </div> </div> <div class="clear"></div> </div> <div id="bd"> <div class="yui-g" style="border-bottom: 1px dotted #C8C7C6; margin-top: 1em;"> <a title="If you have information about a country not listed here or if you find any of the information outdated." id="report-error" href="http://chartsbin.com/about/error&id=45240" style="float: left; margin: 0.4em 0pt 0pt;"><span class="text cb32icon bug">Report an error</span></a> <div class="follow-us"> <div id="fbpagelike"></div> <div id="google_translate_element_home_page" style="float:left"></div><script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element_home_page'); } </script> <span class="text">Follow us...</span> <a title="Follow chartsbin on Twitter" href="http://www.twitter.com/chartsbin"><span class="text cb32icon tw"></span></a> <a title="Follow us on Facebook" href="http://www.facebook.com/chartsbin"><span class="text cb32icon fb"></span></a> <a title="Subscribe to chartsbin by RSS" href="http://feed.chartsbin.com/chartsbinlatest"><span class="text cb32icon rss"></span></a> <a title="Subscribe to chartsbin by Email" href="http://feedburner.google.com/fb/a/mailverify?uri=ChartsbinLatest&loc=en_US" onclick="window.open('http://feedburner.google.com/fb/a/mailverify?uri=ChartsbinLatest', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow"><span class="text cb32icon mail" style="margin:0"></span></a> </div> </div> <div class="yui-g"> <div id="chart-title"> <!-- google_ad_section_start --> <h1>Highest Numbers of Users Attacked with Ransomware</h1> <!-- google_ad_section_end --> </div><div id="install-chrome"></div> <noscript><div id="no-chart">Hello, you have JavaScript turned off. Please enable JavaScript to see this interactive data visualization.</div></noscript> <div style="height: 434px;"><div id="my_chart" style="height: 434px;"><img height="100%" alt="Highest Numbers of Users Attacked with Ransomware" src="http://cdn3.chartsbin.com/chartimages/l_45240_2d1ff9a6bd6fa25ed8558d2193e0f4ba"></div></div> <script type="text/javascript"> if(CBin.hasSVG){ d3.json("http://chartsbin.com/json/45240_2d1ff9a6bd6fa25ed8558d2193e0f4ba", function(json){ d3.select("#my_chart").html(''); CBin.drawHBar("#my_chart",json,819,434); }); }else if(CBin.isIE && !CBin.isIE9){ loadScript('http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js'); $('#install-chrome').html('<div id="no-chart">To view this interactive data visualization you need modern browser e.g. <a href="http://www.google.com/chrome" target="_blank">Google Chrome</a> or <a href="http://www.mozilla.com/firefox/" target="_blank">Mozilla Firefox</a> or <a href="http://www.apple.com/safari/" target="_blank">Safari</a> or <a href="http://www.opera.com/" target="_blank">Opera</a>.<br><br>Or, you need to install the <a href="#" class="install-chrome">Google Chrome Frame</a> browser plugin for Internet Explorer: <a href="#" class="install-chrome">Click here to install</a> (It is FREE!).</div>'); $('.install-chrome').bind('click',function(e){ e.preventDefault(); CFInstall.check({ mode: "overlay" }); }); } </script> </div> <div class="yui-g"> <div id="chart-ratings-views"> <span class="fleft" style="margin:5px 10px 0 0; width:83px"> <span class="bar-rating-control" title="26 votes. Average rating is 81.6% postive."> <span title="81.6% postive." class="like-bar" style="width: 81.6%;"></span> <span title="18.4% negative." class="dislike-bar" style="width: 18.4%;"></span> </span> </span> <span class="fleft" style="font-weight: bold; margin-right: 5px;" id="rating-result">Do you like this chart?</span> <a class="btn" onclick="return false;" id="like_button"><span class="text">✔ Yes</span></a> <a class="btn" onclick="return false;" id="dislike_button"><span class="text">✖</span></a> <a class="btn" onclick="return false;" id="sharing-link"><span class="text">✚ Share</span></a> <a class="btn" onclick="return false;" id="reference-link"><span class="text">References and Data Table</span></a> <a class="btn download-link" title="To Embed or download this chart/map" href="http://chartsbin.com/about/embedthis&id=45240&title=Highest+Numbers+of+Users+Attacked+with+Ransomware&ver=2d1ff9a6bd6fa25ed8558d2193e0f4ba"><span class="text">HTML Embed code</span></a> <a id="buy-link" title="To buy this chart/map" class="btn" href="http://chartsbin.com/about/buythis&id=45240&title=Highest+Numbers+of+Users+Attacked+with+Ransomware"><span class="text" style="">$ Buy Now</span></a> <span class="chart-views"><span>24,135</span> views</span> <div class="clear"></div> </div> </div> <div id="sharing" class="yui-g hide" style="padding: 5px 5px 0pt; border: 1px solid rgb(238, 238, 238);"> <span id="fb_like" class="fleft" style="line-height:0;"></span> <span class="fleft" style="width: 100px;"><g:plusone size="medium" href="http://chartsbin.com/view/45240"></g:plusone></span> <span class="fleft" style="position: relative; width: 110px;" id="tweetmeme"> <a href="http://twitter.com/share" class="twitter-share-button" data-text="Highest Numbers of Users Attacked with Ransomware" data-url="http://chartsbin.com/view/45240" data-count="horizontal" data-via="chartsbin" data-related="pdviz:PDViz an infographic inspiration site.">Tweet</a> </span> <span id="stumblememe" class="fleft" style="line-height:0; width: 90px;"></span> <span class="addthis_toolbox addthis_default_style fleft"> <a class="addthis_counter addthis_pill_style"></a> </span> </div> <div class="yui-g" id="main-desc"> <div class="chart-metadata" style="border: none; background: none;"> <!-- google_ad_section_start --> <div id="chart-description" class="description"><span><div>This chart shows <strong>Countries with Highest Number of Users Attacked with Ransomware.</strong></div> <div><strong>Ransomware</strong> is a type of malicious software from cryptovirology that threatens to publish the victim's data or perpetually block access to it unless a ransom is paid. While some simple ransomware may lock the system in a way which is not difficult for a knowledgeable person to reverse, more advanced malware uses a technique called cryptoviral extortion, in which it encrypts the victim's files, making them inaccessible, and demands a ransom payment to decrypt them.</div> <div>In a properly implemented cryptoviral extortion attack, recovering the files without the decryption key is an intractable problem – and difficult to trace digital currencies such as Ukash and Bitcoin are used for the ransoms, making tracing and prosecuting the perpetrators difficult.</div> <div>Ransomware attacks are typically carried out using a Trojan that is disguised as a legitimate file that the user is tricked into downloading or opening when it arrives as an email attachment. However, one high-profile example, the<strong> "WannaCry worm"</strong>, traveled automatically between computers without user interaction.</div> <div>Encrypting ransomware returned to prominence in late 2013 with the propagation of CryptoLocker—using the<strong> Bitcoin digital currency platform to collect ransom money.</strong> In December 2013, ZDNet estimated based on Bitcoin transaction information that between 15 October and 18 December, the operators of CryptoLocker had procured about US$27 million from infected users.</div> <div><strong>The</strong> <strong>Microsoft Malware Protection Center</strong> identified a trend away from WSF files in favor of LNK files and PowerShell scripting.These LNK shortcut files install Locky ransomware by automating infection operations rather than relying on traditional user downloads of WSF files—all of which is made possible by the universal PowerShell Windows application.</div> <div>Unfortunately, <strong>cyber criminals have been able to leverage PowerShell </strong>for their attacks for years. In a recent report, the application was found to be involved in nearly 40% of endpoint security incidents. While attackers have been finding weaknesses in the Windows operating system for years, it’s clear that there’s something problematic with PowerShell scripting.</div> <div>Some ransomware strains have used proxies tied to Tor hidden services to connect to their command and control servers, increasing the difficulty of tracing the exact location of the criminals.Furthermore, dark web vendors have increasingly started to offer the technology as a service.</div></span></div> <!-- google_ad_section_end --> <div id="chart-last-updated"><hr><label>Last updated: </label><span>8 years ago</span></div> <!-- google_ad_section_start --> <div id="chart-category"><label>Category: </label><span><a href="http://chartsbin.com/graph/information_and_communication_technology">Information and Communication Technology</a></span></div> <div id="chart-tags" style="padding-bottom:4px;" class="tagged"><label>Tags: </label><a href="http://chartsbin.com/search.php?q=Attacks">Attacks</a> <a href="http://chartsbin.com/search.php?q= Ransomware"> Ransomware</a> <a href="http://chartsbin.com/search.php?q= Country "> Country </a> <a href="http://chartsbin.com/search.php?q=World">World</a> </div> <!-- google_ad_section_end --> </div> </div> <div class="yui-g" id="html-table"> </div> <div class="yui-g" id="references"> <div class="more_meta_head"> <ul class="icon_list"> <li class="select"><a href="#" onclick="return false;" id="chart-source-link"><span class="icon i_reference"></span>References</a></li> <li><a class="download-link" title="To Embed or download this chart/map" href="http://chartsbin.com/about/embedthis&id=45240&title=Highest+Numbers+of+Users+Attacked+with+Ransomware&ver=2d1ff9a6bd6fa25ed8558d2193e0f4ba"><span class="icon i_code"></span>Embed or download</a></li> </ul> <div class="clear"></div> </div> <!-- google_ad_section_start --> <div class="chart-source chart-metadata hide" style="display: block;"> <div style="padding-bottom:0.5em"> <h2>Source</h2> <div id="external-reference" class="description"><ul><li><cite><em>Highest Numbers of Users Attacked with Ransomware</em>, dthforum.com, viewed 3rd September, 2017, <<a href="https://dthforum.com/threads/countries-with-the-highest-number-of-users-attacked-with-ransomware.41530/" target="_blank">https://dthforum.com/threads/countries-with-the-highest-number-of-users-attacked-with-ransomware.41530/</a>>.</cite></li></ul></div> <hr> <h2>Citation</h2> <span id="embed-citation-box"><cite> <em>Highest Numbers of Users Attacked with Ransomware</em>, ChartsBin.com, viewed 11th April, 2025, <http://chartsbin.com/view/45240>.</cite> </span> </div> </div> <!-- google_ad_section_end --> </div> <div class="yui-g" id="chart-read-more"><span><a id="chart-read-more-link" onclick="return false;" href="#main-desc">Read more »</a></span></div> <div class="yui-g"> <div id="chart-comments" style="padding:0;margin:0;"> <div class="more_comment_head" id="disqus-loader"> <ul class="icon_list"> <li style="padding-top: 30px;"><a href="#disqus_thread" class="load-disqus"><span class="icon i_add_comment"></span>Add new comment</a></li> <li style="width: 2em;"><span> </span></li> <li><textarea style="width: 600px;height:75px;color: #666;" class="load-disqus hover">Respond to this visualizations...</textarea></li> </ul> <div class="clear"></div> </div> <div id="disqus_thread"><span id="disqus-loading" style="display:none;">Loading...</span></div> <noscript><a href="http://disqus.com/forums/chartsbin/?url=http://chartsbin.com/view/45240">Click here to view the discussion thread.</a></noscript> </div> </div> <div class="yui-g"> <div id="related-chart" class="related-bar"><h2>Related charts / graphs</h2></div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/39181" title="Network Readiness Index"> <img class="lazy-load" alt="Network Readiness Index" tsrc="http://cdn3.chartsbin.com/chartimages/s_39181" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/39181" title="Network Readiness Index">Network Readiness Index</a></h3> <div class="view-count">4.05 rating | 10,221 views | 0 comments</div> </div> </div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/41309" title="The Web Index"> <img class="lazy-load" alt="The Web Index" tsrc="http://cdn3.chartsbin.com/chartimages/s_41309" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/41309" title="The Web Index">The Web Index</a></h3> <div class="view-count">5.00 rating | 7,463 views | 0 comments</div> </div> </div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/38530" title="Global Mobile Broadband Prices ($/GB)"> <img class="lazy-load" alt="Global Mobile Broadband Prices ($/GB)" tsrc="http://cdn3.chartsbin.com/chartimages/s_38530" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/38530" title="Global Mobile Broadband Prices ($/GB)">Global Mobile Broadband Prices ($/GB)</a></h3> <div class="view-count">3.29 rating | 9,365 views | 0 comments</div> </div> </div> <div class="next-chart"> <div class="chart-image"><a href="http://chartsbin.com/view/39038" title="National Internet Diversity at the International Frontier"> <img class="lazy-load" alt="National Internet Diversity at the International Frontier" tsrc="http://cdn3.chartsbin.com/chartimages/s_39038" src="http://cdn3.chartsbin.com/images/bg.png" width="220" height="110"> </a></div> <div class="chart-detail"> <h3><a href="http://chartsbin.com/view/39038" title="National Internet Diversity at the International Frontier">National Internet Diversity at the International Frontier</a></h3> <div class="view-count">5.00 rating | 8,297 views | 0 comments</div> </div> </div> </div> <!-- Cached copy, generated --> <div class="yui-g"> <div class="related-bar" style="border:none;"><h2 style="">You Might Also Like Our Friends' Posts</h2></div> <div id="2leep" style="margin-top:0.5em;" onclick="_gaq.push(['_trackEvent','linkEx','2leep','2leep']);"></div> </div> </div> <div id="ft"><div id="copyright">Copyright 2011 ChartsBin.com. All rights reserved.</div><a title="About US" href="/about/">About</a> | <a title="Chat" href="https://chartsbin.campfirenow.com/7025b">Chat</a> | <a title="Contact US" href="/about/contact">Contact</a> | <a title="Sign Up" href="/about/apply">Sign Up</a> | <a title="Privacy Policy" href="/about/privacy">Privacy</a> | <a title="Legal" href="/about/legal">Legal</a> | <a href="http://chartsbin.uservoice.com" target="_blank" title="Feedback">Feedback</a></div> </div> <script type="text/javascript"> var _qevents = _qevents || [], _gaq = _gaq || [],_kmq = _kmq || [],secure = "http://",quantserveSSL = "edge", reinvigorateSSL = "",hasSVG = !!document.createElementNS && !!document.createElementNS("http://www.w3.org/2000/svg", "svg").createSVGRect; if(document.location.protocol == "https:"){ secure = "https://"; quantserveSSL = "secure"; reinvigorateSSL = "ssl-"; } _gaq.push(['_setAccount', 'UA-1842699-9'],['_setCustomVar', 1, 'hasSVG', hasSVG.toString(), 1 ],['_trackPageview'],['_trackPageLoadTime']); _qevents.push({ qacct:"p-c439YeBRW9Mx6" }); (function () { loadScript(secure + "www.google-analytics.com/ga.js"); loadScript(secure + quantserveSSL +".quantserve.com/quant.js"); loadScript(secure + reinvigorateSSL + "include.reinvigorate.net/re_.js"); })(); setTimeout(function(){ try {reinvigorate.track("9t5z6-h1zo2a79q9");} catch(err) {} }, 1000); </script> <noscript><img src="//pixel.quantserve.com/pixel/p-c439YeBRW9Mx6.gif" style="display: none;" height="1" width="1" alt="Quantcast"/></noscript> <script type="text/javascript"> var addthis_config = { username:"chartsbin", ui_cobrand: "ChartsBin.com", ui_header_color: "#ffffff", ui_header_background: "#000000", services_exclude: "print", data_ga_tracker: "gaPageTracker", data_track_clickback : true }, addthis_share = { url: "http://chartsbin.com/view/45240", title: "" }, gaPageTracker, url = 'http%3A%2F%2Fchartsbin.com%2Fview%2F45240', title = '', style = 'compact', qs; //var urlimage = 'http://cdn3.chartsbin.com/chartimages/d_45240_d41d8cd98f00b204e9800998ecf8427e'; /*for disqus */ var disqus_url = 'http://chartsbin.com/view/45240'; //window.disqus_no_style = true; function setCBCookie(text){ var expires = new Date(); expires.setDate(expires.getDate()+1); document.cookie = text+expires.toUTCString(); } $(document).ready(function () { if($.browser.chrome || $.browser.safari){ $("#toplinks ul ul").css('left',"-167px"); } $(".download-link").attr("href",$(".download-link").attr("href")+""); $(".download-link").colorbox({ width:"800", open: document.cookie.indexOf('download=true')!=-1, onOpen:function(){ setCBCookie("download=true; expires="); _gaq.push(['_trackEvent','more','embed',title]); }, onClosed:function(){ setCBCookie("download=false; expires="); } }); $("#buy-link").colorbox({ width:"800", open: document.cookie.indexOf('buythis=true')!=-1, onOpen:function(){ setCBCookie("buythis=true; expires="); _gaq.push(['_trackEvent','more','buy',title]); }, onClosed:function(){ setCBCookie("buythis=false; expires="); } }); $("#report-error").colorbox({width:"800"}); //$("#main-desc").css("overflow-y","hidden").css("height","44"); //$("#html-table, #references").hide(); //$("#chart-read-more").show(); $("#reference-link").bind({ click:function(){ $("#main-desc").css("height","auto"); $("#html-table, #references").show(); $("#chart-read-more").hide(); _gaq.push(['_trackEvent','more','read-more-reference-link',title]); $('html, body').animate({ scrollTop: $('#chart-tags').offset().top }, 1000); return false; } }); $("#chart-read-more-link").bind({ click:function(){ $("#main-desc").css("height","auto"); $("#html-table, #references").show(); $("#chart-read-more").hide(); _gaq.push(['_trackEvent','more','read-more',title]); return false; } }); $(".load-disqus").click(function(){ loadScript("http://disqus.com/forums/chartsbin/embed.js"); $("#disqus-loader").fadeOut('slow'); $(".load-disqus").unbind("click"); _gaq.push(['_trackEvent','more','showComments',title]); return false; }); if(document.location.href.toLowerCase().indexOf('disqus_thread')!=-1){ $(".load-disqus").trigger('click'); } if(document.location.href.toLowerCase().indexOf('comment-')!=-1){ $(".load-disqus").trigger('click'); } var isRelatedChartLoad= false; var is2leepLoad= false; $(window).scroll(function(){ if($.belowTheFold("#related-chart")){ $(this).trigger("loadRelatedChart"); isRelatedChartLoad = true; } if($.belowTheFold("#2leep")){ $(this).trigger("load2leep"); is2leepLoad = true; } if(is2leepLoad && isRelatedChartLoad){ $(window).unbind("scroll"); } }); $.belowTheFold = function(element) { return ($(window).height() + $(window).scrollTop()+10) >= $(element).offset().top; } $('#embed-link').bind('click',function(){ $('#chart-embed-link').trigger("click"); }); $("#sharing-link").bind({ click:function(){ $(window).trigger("loadShare"); $('#sharing').toggle(); _gaq.push(['_trackEvent','more','share',title]); return false; } }); $(window).one("loadShare", function() { try{ gaPageTracker = _gat._getTrackerByName(); }catch(e){} $("#fb_like").html('<iframe scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchartsbin.com%2Fview%2F45240&show_faces=false&layout=button_count&width=100&action=like&font=arial&colorscheme=light"/>'); $("#stumblememe").html('<iframe src="http://www.stumbleupon.com/badge/embed/1/?url=http://chartsbin.com/view/45240" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:74px; height: 18px;" allowTransparency="true"></iframe>'); loadScript("http://platform.twitter.com/widgets.js"); //loadScript("http://www.google.com/buzz/api/button.js"); loadScript("https://apis.google.com/js/plusone.js"); loadScript("http://s7.addthis.com/js/250/addthis_widget.js#username=chartsbin&domready=1"); //loadScript("http://widgets.digg.com/buttons.js"); }); $("#fbpagelike").html('<iframe scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchartsbin.com%2Fview%2F45240&show_faces=false&layout=button_count&width=100&action=like&font=arial&colorscheme=light"/>'); $(window).one("loadRelatedChart", function() { $.each($("img.lazy-load"), function() { $(this).attr("src", $(this).attr("tsrc")); }); }); $(window).one("load2leep", function() { $(add_2leep()).appendTo("#2leep"); }); $("input#table-search").quicksearch("table#search-data tbody tr", {noResults: '#noresults',loader: 'span.loading'}); qs = $("input#table-search-new").quicksearch("table#publishpreviewtable tbody tr", {noResults: '#noresults',loader: 'span.loading',stripeRows: ['','odd']}); $(window).trigger("scroll"); $('#like_button').bind('click',function(){ ratingfunction(this,5); }); $('#dislike_button').bind('click',function(){ ratingfunction(this,1); }); function ratingfunction(id,rating){ $.ajax({ type: "POST", url: "/post/ratings", data: { rating: rating, chart_ID: "45240" }, dataType: 'json', async : false, success: function(js){ $("#rating-result").html(js.message); if(js.error==1){ //nothing }else{ $('#like_button').unbind('click'); $('#dislike_button').unbind('click'); } } }); $(".rate-buttons").removeClass("rate-buttons-active"); $(id).addClass("rate-buttons-active"); } }); </script> <script type="text/javascript"> function add_2leep(){ var list = [["5882","10 Most Incredible Images of Magnetic Storms"],["7006","The 15 Most Beautiful Photos Tweeted From The Space [Pics]"],["9277","Dry Valleys of Antarctica"],["28391","A Visual History of the Internet [Infographic]"],["31083","Skyscraper Infographics"],["37019","Cool Infographic for 2010 World Cup"]]; var leep = '<style type="text/css">a.leep_title_twoBigger8027:link, a.leep_title_twoBigger8027:visited, a.leep_title_twoBigger8027:active {font-size:13px; font-family:arial,helvetica,clean,sans-serif; line-height: 1.231em; font-weight:normal; text-decoration: none; color:#005C9C; letter-spacing:0.04em} a.leep_title_twoBigger8027:hover {text-decoration:underline;}</style>'; leep = leep + '<table width="948" cellspacing="5" cellpadding="3" style="clear:left; overflow:hidden; margin: 0 auto; border:0px solid #cccccc; background-color:#ffffff;"><tr>'; for (x in list) { leep = leep + '<td valign="top" align="center" style="overflow:hidden; text-align: center;" width="16%">'; leep = leep + '<div style="text-align:center;margin: 0 auto; display:table; border-spacing: 0px; border: ;padding:;"><a href="http://2leep.com/news/'+list[x][0]+'/358/1/" rel="nofollow" target="_blank"><img src="http://2leep.com/img/'+list[x][0]+'-140.jpg" width="140" border=0 class="leepHor8027"></a></div>'; leep = leep + '<div style="overflow:hidden; padding:2px; margin: 0 auto; text-align: center; width: 100%;"><a href="http://2leep.com/news/'+list[x][0]+'/358/1/" rel="nofollow" target="_blank" class="leep_title_twoBigger8027">'; leep = leep + list[x][1]+'</a><br/></div>'; leep = leep + '</td>'; } leep = leep + '</tr></table>'; return leep; } </script></body> </html>