{"id":1775,"date":"2016-04-02T00:31:22","date_gmt":"2016-04-02T00:31:22","guid":{"rendered":"https:\/\/www.anychart.com\/blog\/?p=1775"},"modified":"2016-04-02T00:31:22","modified_gmt":"2016-04-02T00:31:22","slug":"winloss-javascript-sparkline-chart-anychart","status":"publish","type":"post","link":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/","title":{"rendered":"WinLoss (JavaScript Sparkline chart by AnyChart) and More"},"content":{"rendered":"<div style=\"width: 710px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.anychart.com\/products\/anychart\/gallery\/Sparklines\/WinLoss.php\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg\" alt=\"WinLoss (JavaScript Sparkline chart by AnyChart)\" title=\"WinLoss (JavaScript Sparkline chart by AnyChart)\" width=\"700\"\/><\/a><p class=\"wp-caption-text\"><a href=\"https:\/\/www.anychart.com\/products\/anychart\/gallery\/Sparklines\/WinLoss.php\" target=\"_blank\">WinLoss (JavaScript Sparkline chart by AnyChart)<\/a><\/p><\/div>\n<p>This week we have posted on <a href=\"https:\/\/www.facebook.com\/AnyCharts\" target=\"_blank\" rel=\"nofollow\">AnyChart Facebook Page<\/a> and in <a  rel=\"nofollow\" href=\"https:\/\/twitter.com\/AnyChart\" target=\"_blank\">Twitter<\/a> the following data visualizations (including WinLoss \u2013 a JavaScript Sparkline chart by <a href=\"https:\/\/www.anychart.com\/\" target=\"_blank\">AnyChart<\/a>):<\/p>\n<ul>\n<li><a href=\"http:\/\/thenextweb.com\/shareables\/2016\/03\/22\/apple-vs-fbi-data-skews-toward-state-voted-2012-presidential-election\/\" target=\"_blank\" rel=\"nofollow\">FBI vs Apple Map<\/a> \u2013 Want to know where your state sides on the Apple vs FBI debate? Check its voting record. While the FBI and Apple case is <a href=\"http:\/\/thenextweb.com\/apple\/2016\/03\/22\/fbi-found-possible-method-unlock-iphone\/#gref\" target=\"_blank\" rel=\"nofollow\">on hiatus until April 5<\/a>, the public debate rages on about whether Apple should assist the FBI in unlocking the San Bernadino shooter\u2019s iPhone. Turns out, it\u2019s pretty easy to find out if your state supports Apple or the FBI: just look at its voting results from the 2012 presidential election. This map on <a href=\"http:\/\/thenextweb.com\/\" target=\"_blank\" rel=\"nofollow\">The Next Web<\/a> clearly demonstrates the correlation. <\/li>\n<li>The <a href=\"http:\/\/sorting.at\/\" target=\"_blank\" rel=\"nofollow\">SORTING<\/a> project by <a href=\"http:\/\/www.makinguse.com\/\" target=\"_blank\" rel=\"nofollow\">Carlo Zapponi<\/a> is an attempt to visualize and help to understand how some of the most famous sorting algorithms work. This project provides two standpoints to look at algorithms, one is more artistic, the other is more analytical aiming at explaining algorithm step by step.<\/li>\n<li>Who is the oldest person in the world? What are the worst games ever made? What is the best way to visualize data on marijuana laws? Enjoy this selection of <a href=\"http:\/\/fivethirtyeight.com\/features\/our-47-weirdest-charts-from-2015\/\" target=\"_blank\" rel=\"nofollow\">47 weirdest charts from 2015<\/a> (picked up <a href=\"http:\/\/fivethirtyeight.com\/\" target=\"_blank\" rel=\"nofollow\">FiveThirtyEight<\/a>), and you will learn everything you need and do not need to know!<\/li>\n<li><a href=\"https:\/\/www.anychart.com\/products\/anychart\/gallery\/Sparklines\/WinLoss.php\" target=\"_blank\">WinLoss (JavaScript Sparkline chart by AnyChart)<\/a> \u2013 <a href=\"https:\/\/docs.anychart.com\/7.9.1\/Basic_Charts_Types\/Sparkline_Chart\" target=\"_blank\" rel=\"nofollow\">Sparklines<\/a> are small charts: lines, areas, or columns without labels and any decorations. They can be intertwined with text or placed into table cells. While most of chart types are aimed to present as much data as possible, sparklines is a way to focus on the main point of interest and create a compact data visualization. These charts are good at showing a general shape of any measurement; there is also a special type of Sparklines (called <a href=\"https:\/\/docs.anychart.com\/7.9.1\/Basic_Charts_Types\/Sparkline_Chart#winloss_sparkline_chart\" target=\"_blank\" rel=\"nofollow\">WinLoss<\/a>) that is used predominantly for scores in sports and games. It shows no values but positive and negative positions. Here we see a score table for English football teams. The first and second columns contain the numbers of the teams and their names, the two next columns contain win and loss scores, and in the fifth column, which is the widest, there are WinLoss SparkLines. Negative values are colored in red, and positive ones are blue. The last column contains the percentage of victories.<\/li>\n<\/ul>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>This week we have posted on AnyChart Facebook Page and in Twitter the following data visualizations (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart): FBI vs Apple Map \u2013 Want to know where your state sides on the Apple vs FBI debate? Check its voting record. While the FBI and Apple case is on [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,23,13,3],"tags":[],"class_list":["post-1775","post","type-post","status-publish","format-standard","hentry","category-anychart-charting-component","category-html5","category-javascript","category-news","wpautop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WinLoss (JavaScript Sparkline chart by AnyChart) and More | AnyChart News<\/title>\n<meta name=\"description\" content=\"Here are the data visualizations we have posted this week (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WinLoss (JavaScript Sparkline chart by AnyChart) and More | AnyChart News\" \/>\n<meta property=\"og:description\" content=\"Here are the data visualizations we have posted this week (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\" \/>\n<meta property=\"og:site_name\" content=\"AnyChart News\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AnyCharts\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-02T00:31:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg\" \/>\n<meta name=\"author\" content=\"Margaret Skomorokh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:site\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Margaret Skomorokh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\"},\"author\":{\"name\":\"Margaret Skomorokh\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\"},\"headline\":\"WinLoss (JavaScript Sparkline chart by AnyChart) and More\",\"datePublished\":\"2016-04-02T00:31:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\"},\"wordCount\":398,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg\",\"articleSection\":[\"AnyChart Charting Component\",\"HTML5\",\"JavaScript\",\"News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\",\"url\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\",\"name\":\"WinLoss (JavaScript Sparkline chart by AnyChart) and More | AnyChart News\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg\",\"datePublished\":\"2016-04-02T00:31:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\"},\"description\":\"Here are the data visualizations we have posted this week (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart).\",\"breadcrumb\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage\",\"url\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg\",\"contentUrl\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg\",\"width\":951,\"height\":518},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.anychart.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WinLoss (JavaScript Sparkline chart by AnyChart) and More\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\",\"url\":\"https:\/\/www.anychart.com\/blog\/\",\"name\":\"AnyChart News\",\"description\":\"AnyChart JS Charts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.anychart.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\",\"name\":\"Margaret Skomorokh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g\",\"caption\":\"Margaret Skomorokh\"},\"url\":\"https:\/\/www.anychart.com\/blog\/author\/margaret-skomorokh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WinLoss (JavaScript Sparkline chart by AnyChart) and More | AnyChart News","description":"Here are the data visualizations we have posted this week (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart).","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/","og_locale":"en_US","og_type":"article","og_title":"WinLoss (JavaScript Sparkline chart by AnyChart) and More | AnyChart News","og_description":"Here are the data visualizations we have posted this week (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart).","og_url":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/","og_site_name":"AnyChart News","article_publisher":"https:\/\/www.facebook.com\/AnyCharts","article_published_time":"2016-04-02T00:31:22+00:00","og_image":[{"url":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg","type":"","width":"","height":""}],"author":"Margaret Skomorokh","twitter_card":"summary_large_image","twitter_creator":"@AnyChart","twitter_site":"@AnyChart","twitter_misc":{"Written by":"Margaret Skomorokh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#article","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/"},"author":{"name":"Margaret Skomorokh","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555"},"headline":"WinLoss (JavaScript Sparkline chart by AnyChart) and More","datePublished":"2016-04-02T00:31:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/"},"wordCount":398,"commentCount":0,"image":{"@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage"},"thumbnailUrl":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg","articleSection":["AnyChart Charting Component","HTML5","JavaScript","News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/","url":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/","name":"WinLoss (JavaScript Sparkline chart by AnyChart) and More | AnyChart News","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage"},"image":{"@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage"},"thumbnailUrl":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg","datePublished":"2016-04-02T00:31:22+00:00","author":{"@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555"},"description":"Here are the data visualizations we have posted this week (including WinLoss \u2013 a JavaScript Sparkline chart by AnyChart).","breadcrumb":{"@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#primaryimage","url":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg","contentUrl":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2016\/04\/WinLoss-JavaScript-Sparkline-chart-by-AnyChart.jpg","width":951,"height":518},{"@type":"BreadcrumbList","@id":"https:\/\/www.anychart.com\/blog\/2016\/04\/02\/winloss-javascript-sparkline-chart-anychart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.anychart.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WinLoss (JavaScript Sparkline chart by AnyChart) and More"}]},{"@type":"WebSite","@id":"https:\/\/www.anychart.com\/blog\/#website","url":"https:\/\/www.anychart.com\/blog\/","name":"AnyChart News","description":"AnyChart JS Charts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.anychart.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555","name":"Margaret Skomorokh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g","caption":"Margaret Skomorokh"},"url":"https:\/\/www.anychart.com\/blog\/author\/margaret-skomorokh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/1775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/comments?post=1775"}],"version-history":[{"count":21,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/1775\/revisions"}],"predecessor-version":[{"id":1827,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/1775\/revisions\/1827"}],"wp:attachment":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/media?parent=1775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/categories?post=1775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/tags?post=1775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}