2019-02-18 20:32:34 +01:00
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --> < html lang = "en" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< title > Starting with ApexCharts • apexcharter< / title >
<!-- jquery --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity = "sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin = "anonymous" > < / script > <!-- Bootstrap --> < link href = "https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/flatly/bootstrap.min.css" rel = "stylesheet" crossorigin = "anonymous" >
2019-11-28 11:40:30 +01:00
< script src = "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity = "sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin = "anonymous" > < / script > <!-- Font Awesome icons --> < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/all.min.css" integrity = "sha256-nAmazAk6vS34Xqo0BSrTb+abbtFlgsFK7NKSi6o7Y78=" crossorigin = "anonymous" >
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.1/css/v4-shims.min.css" integrity = "sha256-6qHlizsOWFskGlwVOKuns+D1nB6ssZrHQrNj1wGplHc=" crossorigin = "anonymous" >
<!-- clipboard.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity = "sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin = "anonymous" > < / script > <!-- headroom.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.4/headroom.min.js" integrity = "sha256-DJFC1kqIhelURkuza0AvYal5RxMtpzLjFhsnVIeuk+U=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.9.4/jQuery.headroom.min.js" integrity = "sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin = "anonymous" > < / script > <!-- pkgdown --> < link href = "../pkgdown.css" rel = "stylesheet" >
2019-02-18 20:32:34 +01:00
< script src = "../pkgdown.js" > < / script > < meta property = "og:title" content = "Starting with ApexCharts" >
< meta property = "og:description" content = "" >
< meta name = "twitter:card" content = "summary" >
<!-- mathjax --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity = "sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity = "sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin = "anonymous" > < / script > <!-- [if lt IE 9]>
< script src = "https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js" > < / script >
< script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" > < / script >
<![endif]-->
< / head >
< body >
< div class = "container template-article" >
< header > < div class = "navbar navbar-default navbar-fixed-top" role = "navigation" >
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#navbar" aria-expanded = "false" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< span class = "navbar-brand" >
< a class = "navbar-link" href = "../index.html" > apexcharter< / a >
2019-11-28 11:40:30 +01:00
< span class = "version label label-default" data-toggle = "tooltip" data-placement = "bottom" title = "Released version" > 0.1.3< / span >
2019-02-18 20:32:34 +01:00
< / span >
< / div >
< div id = "navbar" class = "navbar-collapse collapse" >
< ul class = "nav navbar-nav" >
< li >
< a href = "../index.html" >
< span class = "fa fa-home fa-lg" > < / span >
< / a >
< / li >
2019-05-15 11:53:53 +02:00
< li >
< a href = "../articles/starting-with-apexcharts.html" > Get started< / a >
< / li >
2019-02-18 20:32:34 +01:00
< li >
< a href = "../reference/index.html" > Reference< / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" >
Articles
< span class = "caret" > < / span >
< / a >
< ul class = "dropdown-menu" role = "menu" >
< li >
2019-05-15 11:53:53 +02:00
< a href = "../articles/labs.html" > Labs: title, subtitle & axis< / a >
2019-02-18 20:32:34 +01:00
< / li >
2019-05-21 10:27:53 +02:00
< li >
< a href = "../articles/lines.html" > Options & styles for lines< / a >
< / li >
2019-09-06 13:03:56 +02:00
< li >
< a href = "../articles/advanced-configuration.html" > Advanced configuration< / a >
< / li >
2019-02-18 20:32:34 +01:00
< / ul >
2019-05-15 11:53:53 +02:00
< / li >
< li >
< a href = "../news/index.html" > News< / a >
2019-02-18 20:32:34 +01:00
< / li >
< / ul >
< ul class = "nav navbar-nav navbar-right" >
< li >
< a href = "https://github.com/dreamRs/apexcharter" >
< span class = "fa fa-github fa-lg" > < / span >
< / a >
< / li >
< / ul >
< / div >
<!-- /.nav - collapse -->
< / div >
<!-- /.container -->
< / div >
<!-- /.navbar -->
2019-11-28 11:40:30 +01:00
< / header > < script src = "starting-with-apexcharts_files/htmlwidgets-1.5.1/htmlwidgets.js" > < / script > < script src = "starting-with-apexcharts_files/apexcharts-3.10.1/apexcharts.min.js" > < / script > < script src = "starting-with-apexcharts_files/d3-format-1.4.2/d3-format.min.js" > < / script > < script src = "starting-with-apexcharts_files/apexcharter-binding-0.1.3/apexcharter.js" > < / script > < div class = "row" >
2019-02-18 20:32:34 +01:00
< div class = "col-md-9 contents" >
< div class = "page-header toc-ignore" >
< h1 > Starting with ApexCharts< / h1 >
< h4 class = "author" > Victor Perrier< / h4 >
2019-11-28 11:40:30 +01:00
< h4 class = "date" > 2019-11-28< / h4 >
2019-02-18 20:32:34 +01:00
< small class = "dont-index" > Source: < a href = "https://github.com/dreamRs/apexcharter/blob/master/vignettes/starting-with-apexcharts.Rmd" > < code > vignettes/starting-with-apexcharts.Rmd< / code > < / a > < / small >
< div class = "hidden name" > < code > starting-with-apexcharts.Rmd< / code > < / div >
< / div >
< p > The objective of this vignette is to show how to quickly build data visualizations with the ApexCharts JavaScript library, as well as to give an overview of the different graphics available.< / p >
< p > Data used are from < code > ggplot2< / code > package, data manipulation will be done with the < code > dplyr< / code > package.< / p >
2019-11-28 11:40:30 +01:00
< div class = "sourceCode" id = "cb1" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb1-1" title = "1" > < span class = "kw" > < a href = "https://rdrr.io/r/base/library.html" > library< / a > < / span > (ggplot2)< / a >
< a class = "sourceLine" id = "cb1-2" title = "2" > < span class = "kw" > < a href = "https://rdrr.io/r/base/library.html" > library< / a > < / span > (scales)< / a >
< a class = "sourceLine" id = "cb1-3" title = "3" > < span class = "kw" > < a href = "https://rdrr.io/r/base/library.html" > library< / a > < / span > (dplyr)< / a >
< a class = "sourceLine" id = "cb1-4" title = "4" > < span class = "kw" > < a href = "https://rdrr.io/r/base/library.html" > library< / a > < / span > (apexcharter)< / a > < / code > < / pre > < / div >
2019-02-18 20:32:34 +01:00
< div id = "bar-charts" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#bar-charts" class = "anchor" > < / a > Bar charts< / h2 >
< p > Simple bar charts can be created with:< / p >
2019-11-28 11:40:30 +01:00
< div class = "sourceCode" id = "cb2" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb2-1" title = "1" > < span class = "kw" > < a href = "https://rdrr.io/r/utils/data.html" > data< / a > < / span > (< span class = "st" > "mpg"< / span > )< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb2-2" title = "2" > n_manufac < -< span class = "st" > < / span > < span class = "kw" > count< / span > (mpg, manufacturer)< / a >
< a class = "sourceLine" id = "cb2-3" title = "3" > < / a >
< a class = "sourceLine" id = "cb2-4" title = "4" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > n_manufac, < span class = "dt" > type =< / span > < span class = "st" > "column"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > manufacturer, < span class = "dt" > y =< / span > n))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-98fffa4c208cc142df87" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-98fffa4c208cc142df87" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" } , "series" : [ { "name" : "n" , "data" : [ { "x" : "audi" , "y" : 18 } , { "x" : "chevrolet" , "y" : 19 } , { "x" : "dodge" , "y" : 37 } , { "x" : "ford" , "y" : 25 } , { "x" : "honda" , "y" : 9 } , { "x" : "hyundai" , "y" : 14 } , { "x" : "jeep" , "y" : 8 } , { "x" : "land rover" , "y" : 4 } , { "x" : "lincoln" , "y" : 3 } , { "x" : "mercury" , "y" : 4 } , { "x" : "nissan" , "y" : 13 } , { "x" : "pontiac" , "y" : 5 } , { "x" : "subaru" , "y" : 14 } , { "x" : "toyota" , "y" : 34 } , { "x" : "volkswagen" , "y" : 27 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : false } } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > Flipping coordinates can be done by using < code > type = "bar"< / code > :< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb3" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb3-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > n_manufac, < span class = "dt" > type =< / span > < span class = "st" > "bar"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > manufacturer, < span class = "dt" > y =< / span > n))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-e3abcea5190bfde89896" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-e3abcea5190bfde89896" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" } , "series" : [ { "name" : "n" , "data" : [ { "x" : "audi" , "y" : 18 } , { "x" : "chevrolet" , "y" : 19 } , { "x" : "dodge" , "y" : 37 } , { "x" : "ford" , "y" : 25 } , { "x" : "honda" , "y" : 9 } , { "x" : "hyundai" , "y" : 14 } , { "x" : "jeep" , "y" : 8 } , { "x" : "land rover" , "y" : 4 } , { "x" : "lincoln" , "y" : 3 } , { "x" : "mercury" , "y" : 4 } , { "x" : "nissan" , "y" : 13 } , { "x" : "pontiac" , "y" : 5 } , { "x" : "subaru" , "y" : 14 } , { "x" : "toyota" , "y" : 34 } , { "x" : "volkswagen" , "y" : 27 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : true } } , "grid" : { "yaxis" : { "lines" : { "show" : false } } , "xaxis" : { "lines" : { "show" : true } } } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > To create a dodge bar charts, use aesthetic < code > fill< / code > :< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb4" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb4-1" title = "1" > n_manufac_year < -< span class = "st" > < / span > < span class = "kw" > count< / span > (mpg, manufacturer, year)< / a >
< a class = "sourceLine" id = "cb4-2" title = "2" > < / a >
< a class = "sourceLine" id = "cb4-3" title = "3" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > n_manufac_year, < span class = "dt" > type =< / span > < span class = "st" > "column"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > manufacturer, < span class = "dt" > y =< / span > n, < span class = "dt" > fill =< / span > year))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-ade675bedf38b561748d" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-ade675bedf38b561748d" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" } , "series" : [ { "name" : 1999 , "data" : [ { "x" : "audi" , "y" : 9 } , { "x" : "chevrolet" , "y" : 7 } , { "x" : "dodge" , "y" : 16 } , { "x" : "ford" , "y" : 15 } , { "x" : "honda" , "y" : 5 } , { "x" : "hyundai" , "y" : 6 } , { "x" : "jeep" , "y" : 2 } , { "x" : "land rover" , "y" : 2 } , { "x" : "lincoln" , "y" : 2 } , { "x" : "mercury" , "y" : 2 } , { "x" : "nissan" , "y" : 6 } , { "x" : "pontiac" , "y" : 3 } , { "x" : "subaru" , "y" : 6 } , { "x" : "toyota" , "y" : 20 } , { "x" : "volkswagen" , "y" : 16 } ] } , { "name" : 2008 , "data" : [ { "x" : "audi" , "y" : 9 } , { "x" : "chevrolet" , "y" : 12 } , { "x" : "dodge" , "y" : 21 } , { "x" : "ford" , "y" : 10 } , { "x" : "honda" , "y" : 4 } , { "x" : "hyundai" , "y" : 8 } , { "x" : "jeep" , "y" : 6 } , { "x" : "land rover" , "y" : 2 } , { "x" : "lincoln" , "y" : 1 } , { "x" : "mercury" , "y" : 2 } , { "x" : "nissan" , "y" : 7 } , { "x" : "pontiac" , "y" : 2 } , { "x" : "subaru" , "y" : 8 } , { "x" : "toyota" , "y" : 14 } , { "x" : "volkswagen" , "y" : 11 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : false } } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > For stacked bar charts, specify option < code > stacked< / code > in < code > ax_chart< / code > :< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb5" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb5-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > n_manufac_year, < span class = "dt" > type =< / span > < span class = "st" > "column"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > manufacturer, < span class = "dt" > y =< / span > n, < span class = "dt" > fill =< / span > year)) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
< a class = "sourceLine" id = "cb5-2" title = "2" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_chart.html" > ax_chart< / a > < / span > (< span class = "dt" > stacked =< / span > < span class = "ot" > TRUE< / span > )< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-a9d0b53b300cae5675eb" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-a9d0b53b300cae5675eb" > { "x" : { "ax_opts" : { "chart" : { "type" : "bar" , "stacked" : true } , "series" : [ { "name" : 1999 , "data" : [ { "x" : "audi" , "y" : 9 } , { "x" : "chevrolet" , "y" : 7 } , { "x" : "dodge" , "y" : 16 } , { "x" : "ford" , "y" : 15 } , { "x" : "honda" , "y" : 5 } , { "x" : "hyundai" , "y" : 6 } , { "x" : "jeep" , "y" : 2 } , { "x" : "land rover" , "y" : 2 } , { "x" : "lincoln" , "y" : 2 } , { "x" : "mercury" , "y" : 2 } , { "x" : "nissan" , "y" : 6 } , { "x" : "pontiac" , "y" : 3 } , { "x" : "subaru" , "y" : 6 } , { "x" : "toyota" , "y" : 20 } , { "x" : "volkswagen" , "y" : 16 } ] } , { "name" : 2008 , "data" : [ { "x" : "audi" , "y" : 9 } , { "x" : "chevrolet" , "y" : 12 } , { "x" : "dodge" , "y" : 21 } , { "x" : "ford" , "y" : 10 } , { "x" : "honda" , "y" : 4 } , { "x" : "hyundai" , "y" : 8 } , { "x" : "jeep" , "y" : 6 } , { "x" : "land rover" , "y" : 2 } , { "x" : "lincoln" , "y" : 1 } , { "x" : "mercury" , "y" : 2 } , { "x" : "nissan" , "y" : 7 } , { "x" : "pontiac" , "y" : 2 } , { "x" : "subaru" , "y" : 8 } , { "x" : "toyota" , "y" : 14 } , { "x" : "volkswagen" , "y" : 11 } ] } ] , "dataLabels" : { "enabled" : false } , "plotOptions" : { "bar" : { "horizontal" : false } } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script >
2019-02-18 20:32:34 +01:00
< / div >
< div id = "line-charts" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#line-charts" class = "anchor" > < / a > Line charts< / h2 >
< p > Simple line charts can be created with (works with < code > character< / code > , < code > Date< / code > or < code > POSIXct< / code > ):< / p >
2019-11-28 11:40:30 +01:00
< div class = "sourceCode" id = "cb6" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb6-1" title = "1" > < span class = "kw" > < a href = "https://rdrr.io/r/utils/data.html" > data< / a > < / span > (< span class = "st" > "economics"< / span > )< / a >
< a class = "sourceLine" id = "cb6-2" title = "2" > economics < -< span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/utils/head.html" > tail< / a > < / span > (economics, < span class = "dv" > 100< / span > )< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb6-3" title = "3" > < / a >
< a class = "sourceLine" id = "cb6-4" title = "4" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > economics, < span class = "dt" > type =< / span > < span class = "st" > "line"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > date, < span class = "dt" > y =< / span > uempmed))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-7eb52c95e890c8313c5c" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-7eb52c95e890c8313c5c" > { "x" : { "ax_opts" : { "chart" : { "type" : "line" } , "series" : [ { "name" : "uempmed" , "data" : [ [ "2007-01-01" , 8.3 ] , [ "2007-02-01" , 8.5 ] , [ "2007-03-01" , 9.1 ] , [ "2007-04-01" , 8.6 ] , [ "2007-05-01" , 8.2 ] , [ "2007-06-01" , 7.7 ] , [ "2007-07-01" , 8.7 ] , [ "2007-08-01" , 8.8 ] , [ "2007-09-01" , 8.7 ] , [ "2007-10-01" , 8.4 ] , [ "2007-11-01" , 8.6 ] , [ "2007-12-01" , 8.4 ] , [ "2008-01-01" , 9 ] , [ "2008-02-01" , 8.7 ] , [ "2008-03-01" , 8.7 ] , [ "2008-04-01" , 9.4 ] , [ "2008-05-01" , 7.9 ] , [ "2008-06-01" , 9 ] , [ "2008-07-01" , 9.7 ] , [ "2008-08-01" , 9.7 ] , [ "2008-09-01" , 10.2 ] , [ "2008-10-01" , 10.4 ] , [ "2008-11-01" , 9.8 ] , [ "2008-12-01" , 10.5 ] , [ "2009-01-01" , 10.7 ] , [ "2009-02-01" , 11.7 ] , [ "2009-03-01" , 12.3 ] , [ "2009-04-01" , 13.1 ] , [ "2009-05-01" , 14.2 ] , [ "2009-06-01" , 17.2 ] , [ "2009-07-01" , 16 ] , [ "2009-08-01" , 16.3 ] , [ "2009-09-01" , 17.8 ] , [ "2009-10-01" , 18.9 ] , [ "2009-11-01" , 19.8 ] , [ "2009-12-01" , 20.1 ] , [ "2010-01-01" , 20 ] , [ "2010-02-01" , 19.9 ] , [ "2010-03-01" , 20.4 ] , [ "2010-04-01" , 22.1 ] , [ "2010-05-01" , 22.3 ] , [ "2010-06-01" , 25.2 ] , [ "2010-07-01" , 22.3 ] , [ "2010-08-01" , 21 ] , [ "2010-09-01" , 20.3 ] , [ "2010-10-01" , 21.2 ] , [ "2010-11-01" , 21 ] , [ "2010-12-01" , 21.9 ] , [ "2011-01-01" , 21.5 ] , [ "2011-02-01" , 21.1 ] , [ "2011-03-01" , 21.5 ] , [ "2011-04-01" , 20.9 ] , [ "2011-05-01" , 21.6 ] , [ "2011-06-01" , 22.4 ] , [ "2011-07-01" , 22 ] , [ "2011-08-01" , 22.4 ] , [ "2011-09-01" , 22 ] , [ "2011-10-01" , 20.6 ] , [ "2011-11-01" , 20.8 ] , [ "2011-12-01" , 20.5 ] , [ "2012-01-01" , 20.8 ] , [ "2012-02-01" , 19.7 ] , [ "2012-03-01" , 19.2 ] , [ "2012-04-01" , 19.1 ] , [ "2012-05-01" , 19.9 ] , [ "2012-06-01" , 20.4 ] , [ "2012-07-01" , 17.5 ] , [ "2012-08-01" , 18.4 ] , [ "2012-09-01" , 18.8 ] , [ "2012-10-01" , 19.9 ] , [ "2012-11-01" , 18.6 ] , [ "2012-12-01" , 17.7 ] , [ "2013-01-01" , 15.8 ] , [ "2013-02-01" , 17.2 ] , [ "2013-03-01" , 17.6 ] , [ "2013-04-01" , 17.1 ] , [ "2013-05-01" , 17.1 ] , [ "2013-06-01" , 17 ] , [ "2013-07-01" , 16.2 ] , [ "2013-08-01" , 16.5 ] , [ "2013-09-01" , 16.5 ] , [ "2013-10-01" , 16.3 ] , [ "2013-11-01" , 17.1 ] , [ "2013-12-01" , 17.3 ] , [ "2014-01-01" , 15.4 ] , [ "2014-02-01" , 15.9 ] , [ "2014-03-01" , 15.8 ] , [ "2014-04-01" , 15.7 ] , [ "2014-05-01" , 14.6 ] , [ "2014-06-01" , 13.8 ] , [ "2014-07-01" , 13.1 ] , [ "2014-08-01" , 12.9 ] , [ "2014-09-01" , 13.4 ] , [ "2014-10-01" , 13.6 ] , [ "2014-11-01" , 13 ] , [ "2014-12-01" , 12.9 ] , [ "2015-01-01" , 13.2 ] , [ "2015-02-01" , 12.9 ] , [ "2015-03-01" , 12 ] , [ "2015-04-01" , 11.5 ] ] } ] , "dataLabels" : { "enabled" : false } , "stroke" : { "curve" : "straight" } , "xaxis" : { "type" : "datetime" } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > To represent several lines, use a < code > data.frame< / code > in long format and the < code > group< / code > aesthetic:< / p >
< div class = "sourceCode" id = "cb7" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb7-1" title = "1" > < span class = "kw" > < a href = "https://rdrr.io/r/utils/data.html" > data< / a > < / span > (< span class = "st" > "economics_long"< / span > )< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb7-2" title = "2" > economics_long < -< span class = "st" > < / span > economics_long < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
< a class = "sourceLine" id = "cb7-3" title = "3" > < span class = "st" > < / span > < span class = "kw" > group_by< / span > (variable) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
< a class = "sourceLine" id = "cb7-4" title = "4" > < span class = "st" > < / span > < span class = "kw" > slice< / span > ((< span class = "kw" > n< / span > ()< span class = "op" > -< / span > < span class = "dv" > 100< / span > )< span class = "op" > :< / span > < span class = "kw" > n< / span > ())< / a >
2019-07-15 11:30:37 +02:00
< a class = "sourceLine" id = "cb7-5" title = "5" > < / a >
< a class = "sourceLine" id = "cb7-6" title = "6" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > economics_long, < span class = "dt" > type =< / span > < span class = "st" > "line"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > date, < span class = "dt" > y =< / span > value01, < span class = "dt" > group =< / span > variable)) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
< a class = "sourceLine" id = "cb7-7" title = "7" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_yaxis.html" > ax_yaxis< / a > < / span > (< span class = "dt" > decimalsInFloat =< / span > < span class = "dv" > 2< / span > ) < span class = "co" > # number of decimals to keep< / span > < / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-0baf2f5b189796f0a12e" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-0baf2f5b189796f0a12e" > { " x " : { " a x _ o p t s " : { " c h a r t " : { " t y p e " : " l i n e " } , " s e r i e s " : [ { " n a m e " : " p c e " , " d a t a " : [ [ " 2 0 0 6 - 1 2 - 0 1 " , 0 . 7 6 6 8 5 4 0 5 2 7 5 9 0 2 5 ] , [ " 2 0 0 7 - 0 1 - 0 1 " , 0 . 7 7 0 9 0 1 2 5 0 0 9 6 2 6 ] , [ " 2 0 0 7 - 0 2 - 0 1 " , 0 . 7 7 3 5 1 0 9 6 5 0 8 1 1 5 8 ] , [ " 2 0 0 7 - 0 3 - 0 1 " , 0 . 7 7 6 7 8 8 0 8 2 5 8 6 7 8 4 ] , [ " 2 0 0 7 - 0 4 - 0 1 " , 0 . 7 7 9 4 0 6 3 5 4 0 1 4 2 5 5 ] , [ " 2 0 0 7 - 0 5 - 0 1 " , 0 . 7 8 2 4 5 2 4 4 7 5 7 0 3 9 8 ] , [ " 2 0 0 7 - 0 6 - 0 1 " , 0 . 7 8 3 8 2 1 4 7 8 3 8 2 1 4 8 ] , [ " 2 0 0 7 - 0 7 - 0 1 " , 0 . 7 8 7 4 4 0 8 5 3 5 9 0 7 1 1 ] , [ " 2 0 0 7 - 0 8 - 0 1 " , 0 . 7 9 1 2 3 1 3 5 7 6 5 0 7 4 3 ] , [ " 2 0 0 7 - 0 9 - 0 1 " , 0 . 7 9 4 9 9 6 1 9 2 3 8 3 0 5 5 ] , [ " 2 0 0 7 - 1 0 - 0 1 " , 0 . 7 9 7 4 8 6 1 1 7 1 7 1 9 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8 4 6 6 3 2 8 3 9 5 3 7 4 5 ] , [ " 2 0 0 7 - 0 7 - 0 1 " , 0 . 8 4 8 8 1 0 4 9 8 8 1 5 8 6 7 ] , [ " 2 0 0 7 - 0 8 - 0 1 " , 0 . 8 5 0 9 7 1 7 2 2 9 2 9 9 1 8 ] , [ " 2 0 0 7 - 0 9 - 0 1 " , 0 . 8 5 3 2 6 4 4 2 8 3 5 8 8 9 3 ] , [ " 2 0 0 7 - 1 0 - 0 1 " , 0 . 8 5 5 4 0 9 2 1 7 3 0 8 5 7 8 ] , [ " 2 0 0 7 - 1 1 - 0 1 " , 0 . 8 5 7 4 3 8 9 6 0 1 0 7 7 0 6 ] , [ " 2 0 0 7 - 1 2 - 0 1 " , 0 . 8 5 9 3 5 3 6 5 6 7 5 6 2 7 6 ] , [ " 2 0 0 8 - 0 1 - 0 1 " , 0 . 8 6 1 1 5 3 3 0 7 2 5 4 2 8 9 ] , [ " 2 0 0 8 - 0 2 - 0 1 " , 0 . 8 6 2 8 3 7 9 1 1 6 0 1 7 4 3 ] , [ " 2 0 0 8 - 0 3 - 0 1 " , 0 . 8 6 4 4 4 8 5 5 7 7 0 9 5 5 3 ] , [ " 2 0 0 8 - 0 4 - 0 1 " , 0 . 8 6 6 1 7 4 2 4 9 9 6 7 9 2 1 ] , [ " 2 0 0 8 - 0 5 - 0 1 " , 0 . 8 6 7 8 6 7 0 7 1 8 9 7 5 5 8 ] , [ " 2 0 0 8 - 0 6 - 0 1 " , 0 . 8 6 9 7 8 1 7 6 8 5 4 6 1 2
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb8" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb8-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > economics_long, < span class = "dt" > type =< / span > < span class = "st" > "area"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > date, < span class = "dt" > y =< / span > value01, < span class = "dt" > fill =< / span > variable)) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
2019-05-15 12:02:36 +02:00
< a class = "sourceLine" id = "cb8-2" title = "2" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_yaxis.html" > ax_yaxis< / a > < / span > (< span class = "dt" > decimalsInFloat =< / span > < span class = "dv" > 2< / span > ) < span class = "op" > %> %< / span > < span class = "st" > < / span > < span class = "co" > # number of decimals to keep< / span > < / a >
2019-05-29 13:04:35 +02:00
< a class = "sourceLine" id = "cb8-3" title = "3" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_chart.html" > ax_chart< / a > < / span > (< span class = "dt" > stacked =< / span > < span class = "ot" > TRUE< / span > ) < span class = "op" > %> %< / span > < / a >
2019-06-04 10:25:17 +02:00
< a class = "sourceLine" id = "cb8-4" title = "4" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_yaxis.html" > ax_yaxis< / a > < / span > (< span class = "dt" > max =< / span > < span class = "dv" > 4< / span > , < span class = "dt" > tickAmount =< / span > < span class = "dv" > 4< / span > )< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-9b2291dbba3a2c9dec93" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-9b2291dbba3a2c9dec93" > { " x " : { " a x _ o p t s " : { " c h a r t " : { " t y p e " : " a r e a " , " s t a c k e d " : t r u e } , " s e r i e s " : [ { " n a m e " : " p c e " , " d a t a " : [ [ " 2 0 0 6 - 1 2 - 0 1 " , 0 . 7 6 6 8 5 4 0 5 2 7 5 9 0 2 5 ] , [ " 2 0 0 7 - 0 1 - 0 1 " , 0 . 7 7 0 9 0 1 2 5 0 0 9 6 2 6 ] , [ " 2 0 0 7 - 0 2 - 0 1 " , 0 . 7 7 3 5 1 0 9 6 5 0 8 1 1 5 8 ] , [ " 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 1 1 6 0 1 7 4 3 ] , [ " 2 0 0 8 - 0 3 - 0 1 " , 0 . 8 6 4 4 4 8 5 5 7 7 0 9 5 5 3 ] , [ " 2 0 0 8 - 0 4 - 0 1 " , 0 . 8 6 6 1 7 4 2 4 9 9 6 7 9 2 1 ] , [ " 2 0 0 8 - 0 5 - 0 1 " , 0 . 8 6 7 8 6 7 0 7 1 8 9 7 5 5 8 ] , [ " 2 0 0 8 - 0 6 - 0 1 " , 0
2019-02-18 20:32:34 +01:00
< / div >
< div id = "scatter-charts" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#scatter-charts" class = "anchor" > < / a > Scatter charts< / h2 >
< p > Simple bar charts can be created with:< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb9" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb9-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > mtcars, < span class = "dt" > type =< / span > < span class = "st" > "scatter"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > wt, < span class = "dt" > y =< / span > mpg))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-672a4da320ad00f4e7e7" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-672a4da320ad00f4e7e7" > { "x" : { "ax_opts" : { "chart" : { "type" : "scatter" } , "series" : [ { "name" : "mpg" , "data" : [ { "x" : 2.62 , "y" : 21 } , { "x" : 2.875 , "y" : 21 } , { "x" : 2.32 , "y" : 22.8 } , { "x" : 3.215 , "y" : 21.4 } , { "x" : 3.44 , "y" : 18.7 } , { "x" : 3.46 , "y" : 18.1 } , { "x" : 3.57 , "y" : 14.3 } , { "x" : 3.19 , "y" : 24.4 } , { "x" : 3.15 , "y" : 22.8 } , { "x" : 3.44 , "y" : 19.2 } , { "x" : 3.44 , "y" : 17.8 } , { "x" : 4.07 , "y" : 16.4 } , { "x" : 3.73 , "y" : 17.3 } , { "x" : 3.78 , "y" : 15.2 } , { "x" : 5.25 , "y" : 10.4 } , { "x" : 5.424 , "y" : 10.4 } , { "x" : 5.345 , "y" : 14.7 } , { "x" : 2.2 , "y" : 32.4 } , { "x" : 1.615 , "y" : 30.4 } , { "x" : 1.835 , "y" : 33.9 } , { "x" : 2.465 , "y" : 21.5 } , { "x" : 3.52 , "y" : 15.5 } , { "x" : 3.435 , "y" : 15.2 } , { "x" : 3.84 , "y" : 13.3 } , { "x" : 3.845 , "y" : 19.2 } , { "x" : 1.935 , "y" : 27.3 } , { "x" : 2.14 , "y" : 26 } , { "x" : 1.513 , "y" : 30.4 } , { "x" : 3.17 , "y" : 15.8 } , { "x" : 2.77 , "y" : 19.7 } , { "x" : 3.57 , "y" : 15 } , { "x" : 2.78 , "y" : 21.4 } ] } ] , "xaxis" : { "min" : 1 , "max" : 6 } , "yaxis" : { "min" : 10 , "max" : 35 } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > Color points according to a third variable:< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb10" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb10-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > mtcars, < span class = "dt" > type =< / span > < span class = "st" > "scatter"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > wt, < span class = "dt" > y =< / span > mpg, < span class = "dt" > fill =< / span > cyl)) < span class = "op" > %> %< / span > < / a >
< a class = "sourceLine" id = "cb10-2" title = "2" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_xaxis.html" > ax_xaxis< / a > < / span > (< span class = "dt" > tickAmount =< / span > < span class = "dv" > 5< / span > )< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-f5955398a7caf1a5edc0" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-f5955398a7caf1a5edc0" > { "x" : { "ax_opts" : { "chart" : { "type" : "scatter" } , "series" : [ { "name" : 6 , "data" : [ { "x" : 2.62 , "y" : 21 } , { "x" : 2.875 , "y" : 21 } , { "x" : 3.215 , "y" : 21.4 } , { "x" : 3.46 , "y" : 18.1 } , { "x" : 3.44 , "y" : 19.2 } , { "x" : 3.44 , "y" : 17.8 } , { "x" : 2.77 , "y" : 19.7 } ] } , { "name" : 4 , "data" : [ { "x" : 2.32 , "y" : 22.8 } , { "x" : 3.19 , "y" : 24.4 } , { "x" : 3.15 , "y" : 22.8 } , { "x" : 2.2 , "y" : 32.4 } , { "x" : 1.615 , "y" : 30.4 } , { "x" : 1.835 , "y" : 33.9 } , { "x" : 2.465 , "y" : 21.5 } , { "x" : 1.935 , "y" : 27.3 } , { "x" : 2.14 , "y" : 26 } , { "x" : 1.513 , "y" : 30.4 } , { "x" : 2.78 , "y" : 21.4 } ] } , { "name" : 8 , "data" : [ { "x" : 3.44 , "y" : 18.7 } , { "x" : 3.57 , "y" : 14.3 } , { "x" : 4.07 , "y" : 16.4 } , { "x" : 3.73 , "y" : 17.3 } , { "x" : 3.78 , "y" : 15.2 } , { "x" : 5.25 , "y" : 10.4 } , { "x" : 5.424 , "y" : 10.4 } , { "x" : 5.345 , "y" : 14.7 } , { "x" : 3.52 , "y" : 15.5 } , { "x" : 3.435 , "y" : 15.2 } , { "x" : 3.84 , "y" : 13.3 } , { "x" : 3.845 , "y" : 19.2 } , { "x" : 3.17 , "y" : 15.8 } , { "x" : 3.57 , "y" : 15 } ] } ] , "xaxis" : { "min" : 1 , "max" : 6 , "tickAmount" : 5 } , "yaxis" : { "min" : 10 , "max" : 35 } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > And change point size using < code > z< / code > aesthetics:< / p >
< div class = "sourceCode" id = "cb11" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb11-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > mtcars, < span class = "dt" > type =< / span > < span class = "st" > "scatter"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > wt, < span class = "dt" > y =< / span > mpg, < span class = "dt" > z =< / span > scales< span class = "op" > ::< / span > < span class = "kw" > < a href = "https://scales.r-lib.org//reference/rescale.html" > rescale< / a > < / span > (qsec)))< / a > < / code > < / pre > < / div >
< div id = "htmlwidget-5b21f9b06616df2bc915" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-5b21f9b06616df2bc915" > { "x" : { "ax_opts" : { "chart" : { "type" : "scatter" } , "series" : [ { "name" : "mpg" , "data" : [ { "x" : 2.62 , "y" : 21 , "z" : 0.233333333333333 } , { "x" : 2.875 , "y" : 21 , "z" : 0.3 } , { "x" : 2.32 , "y" : 22.8 , "z" : 0.489285714285714 } , { "x" : 3.215 , "y" : 21.4 , "z" : 0.588095238095238 } , { "x" : 3.44 , "y" : 18.7 , "z" : 0.3 } , { "x" : 3.46 , "y" : 18.1 , "z" : 0.680952380952381 } , { "x" : 3.57 , "y" : 14.3 , "z" : 0.15952380952381 } , { "x" : 3.19 , "y" : 24.4 , "z" : 0.654761904761905 } , { "x" : 3.15 , "y" : 22.8 , "z" : 1 } , { "x" : 3.44 , "y" : 19.2 , "z" : 0.452380952380953 } , { "x" : 3.44 , "y" : 17.8 , "z" : 0.523809523809524 } , { "x" : 4.07 , "y" : 16.4 , "z" : 0.345238095238095 } , { "x" : 3.73 , "y" : 17.3 , "z" : 0.369047619047619 } , { "x" : 3.78 , "y" : 15.2 , "z" : 0.416666666666667 } , { "x" : 5.25 , "y" : 10.4 , "z" : 0.414285714285714 } , { "x" : 5.424 , "y" : 10.4 , "z" : 0.395238095238095 } , { "x" : 5.345 , "y" : 14.7 , "z" : 0.347619047619048 } , { "x" : 2.2 , "y" : 32.4 , "z" : 0.591666666666667 } , { "x" : 1.615 , "y" : 30.4 , "z" : 0.478571428571429 } , { "x" : 1.835 , "y" : 33.9 , "z" : 0.642857142857143 } , { "x" : 2.465 , "y" : 21.5 , "z" : 0.655952380952381 } , { "x" : 3.52 , "y" : 15.5 , "z" : 0.282142857142857 } , { "x" : 3.435 , "y" : 15.2 , "z" : 0.333333333333333 } , { "x" : 3.84 , "y" : 13.3 , "z" : 0.108333333333333 } , { "x" : 3.845 , "y" : 19.2 , "z" : 0.303571428571429 } , { "x" : 1.935 , "y" : 27.3 , "z" : 0.523809523809524 } , { "x" : 2.14 , "y" : 26 , "z" : 0.261904761904762 } , { "x" : 1.513 , "y" : 30.4 , "z" : 0.285714285714286 } , { "x" : 3.17 , "y" : 15.8 , "z" : 0 } , { "x" : 2.77 , "y" : 19.7 , "z" : 0.119047619047619 } , { "x" : 3.57 , "y" : 15 , "z" : 0.0119047619047619 } , { "x" : 2.78 , "y" : 21.4 , "z" : 0.488095238095238 } ] } ] , "xaxis" : { "min" : 1 , "max" : 6 } , "yaxis" : { "min" : 10 , "max" : 35 } } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script >
2019-02-18 20:32:34 +01:00
< / div >
< div id = "pie-charts" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#pie-charts" class = "anchor" > < / a > Pie charts< / h2 >
< p > Simple pie charts can be created with:< / p >
2019-11-28 11:40:30 +01:00
< div class = "sourceCode" id = "cb12" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb12-1" title = "1" > poll < -< span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/data.frame.html" > data.frame< / a > < / span > (< / a >
< a class = "sourceLine" id = "cb12-2" title = "2" > < span class = "dt" > answer =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "st" > "Yes"< / span > , < span class = "st" > "No"< / span > ),< / a >
< a class = "sourceLine" id = "cb12-3" title = "3" > < span class = "dt" > n =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "dv" > 254< / span > , < span class = "dv" > 238< / span > )< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb12-4" title = "4" > )< / a >
< a class = "sourceLine" id = "cb12-5" title = "5" > < / a >
< a class = "sourceLine" id = "cb12-6" title = "6" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > poll, < span class = "dt" > type =< / span > < span class = "st" > "pie"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > answer, < span class = "dt" > y =< / span > n))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-552c01c08258dfacbd9c" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-552c01c08258dfacbd9c" > { "x" : { "ax_opts" : { "chart" : { "type" : "pie" } , "series" : [ 254 , 238 ] , "labels" : [ "Yes" , "No" ] } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script >
2019-02-18 20:32:34 +01:00
< / div >
< div id = "radial-charts" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#radial-charts" class = "anchor" > < / a > Radial charts< / h2 >
< p > Simple radial charts can be created with (here we pass values directly in < code > aes< / code > , but you can use a < code > data.frame< / code > ) :< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb13" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb13-1" title = "1" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > < span class = "ot" > NULL< / span > , < span class = "dt" > type =< / span > < span class = "st" > "radialBar"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > < span class = "st" > "My value"< / span > , < span class = "dt" > y =< / span > < span class = "dv" > 65< / span > ))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-3bd6f4ad2e3f4245fd67" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-3bd6f4ad2e3f4245fd67" > { "x" : { "ax_opts" : { "chart" : { "type" : "radialBar" } , "series" : [ 65 ] , "labels" : [ "My value" ] } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > Multi radial chart (more than one value):< / p >
< div class = "sourceCode" id = "cb14" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb14-1" title = "1" > fruits < -< span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/data.frame.html" > data.frame< / a > < / span > (< / a >
< a class = "sourceLine" id = "cb14-2" title = "2" > < span class = "dt" > name =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "st" > 'Apples'< / span > , < span class = "st" > 'Oranges'< / span > , < span class = "st" > 'Bananas'< / span > , < span class = "st" > 'Berries'< / span > ),< / a >
< a class = "sourceLine" id = "cb14-3" title = "3" > < span class = "dt" > value =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "dv" > 44< / span > , < span class = "dv" > 55< / span > , < span class = "dv" > 67< / span > , < span class = "dv" > 83< / span > )< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb14-4" title = "4" > )< / a >
< a class = "sourceLine" id = "cb14-5" title = "5" > < / a >
< a class = "sourceLine" id = "cb14-6" title = "6" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > fruits, < span class = "dt" > type =< / span > < span class = "st" > "radialBar"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > name, < span class = "dt" > y =< / span > value))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-6d15534f2c3753cdb868" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-6d15534f2c3753cdb868" > { "x" : { "ax_opts" : { "chart" : { "type" : "radialBar" } , "series" : [ 44 , 55 , 67 , 83 ] , "labels" : [ "Apples" , "Oranges" , "Bananas" , "Berries" ] } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script >
2019-02-18 20:32:34 +01:00
< / div >
< div id = "radar-charts" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#radar-charts" class = "anchor" > < / a > Radar charts< / h2 >
< p > Simple radar charts can be created with:< / p >
2019-11-28 11:40:30 +01:00
< div class = "sourceCode" id = "cb15" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb15-1" title = "1" > mtcars< span class = "op" > $< / span > model < -< span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/colnames.html" > rownames< / a > < / span > (mtcars)< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb15-2" title = "2" > < / a >
2019-11-28 11:40:30 +01:00
< a class = "sourceLine" id = "cb15-3" title = "3" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/utils/head.html" > head< / a > < / span > (mtcars), < span class = "dt" > type =< / span > < span class = "st" > "radar"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > model, < span class = "dt" > y =< / span > qsec))< / a > < / code > < / pre > < / div >
< div id = "htmlwidget-31de7e13299ab766315a" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-31de7e13299ab766315a" > { "x" : { "ax_opts" : { "chart" : { "type" : "radar" } , "series" : [ { "name" : "qsec" , "data" : [ { "x" : "Mazda RX4" , "y" : 16.46 } , { "x" : "Mazda RX4 Wag" , "y" : 17.02 } , { "x" : "Datsun 710" , "y" : 18.61 } , { "x" : "Hornet 4 Drive" , "y" : 19.44 } , { "x" : "Hornet Sportabout" , "y" : 17.02 } , { "x" : "Valiant" , "y" : 20.22 } ] } ] } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script > < p > With a grouping variable:< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb16" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb16-1" title = "1" > < span class = "co" > # extremely complicated reshaping< / span > < / a >
2019-11-28 11:40:30 +01:00
< a class = "sourceLine" id = "cb16-2" title = "2" > new_mtcars < -< span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/stats/reshape.html" > reshape< / a > < / span > (< / a >
< a class = "sourceLine" id = "cb16-3" title = "3" > < span class = "dt" > data =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/utils/head.html" > head< / a > < / span > (mtcars), < / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb16-4" title = "4" > < span class = "dt" > idvar =< / span > < span class = "st" > "model"< / span > , < / a >
2019-11-28 11:40:30 +01:00
< a class = "sourceLine" id = "cb16-5" title = "5" > < span class = "dt" > varying =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/list.html" > list< / a > < / span > (< span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "st" > "drat"< / span > , < span class = "st" > "wt"< / span > )),< / a >
< a class = "sourceLine" id = "cb16-6" title = "6" > < span class = "dt" > times =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "st" > "drat"< / span > , < span class = "st" > "wt"< / span > ),< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb16-7" title = "7" > < span class = "dt" > direction =< / span > < span class = "st" > "long"< / span > ,< / a >
< a class = "sourceLine" id = "cb16-8" title = "8" > < span class = "dt" > v.names =< / span > < span class = "st" > "value"< / span > ,< / a >
2019-11-28 11:40:30 +01:00
< a class = "sourceLine" id = "cb16-9" title = "9" > < span class = "dt" > drop =< / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "st" > "mpg"< / span > , < span class = "st" > "cyl"< / span > , < span class = "st" > "hp"< / span > , < span class = "st" > "dist"< / span > , < span class = "st" > "qsec"< / span > , < span class = "st" > "vs"< / span > , < span class = "st" > "am"< / span > , < span class = "st" > "gear"< / span > , < span class = "st" > "carb"< / span > )< / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb16-10" title = "10" > )< / a >
< a class = "sourceLine" id = "cb16-11" title = "11" > < / a >
< a class = "sourceLine" id = "cb16-12" title = "12" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< span class = "dt" > data =< / span > new_mtcars, < span class = "dt" > type =< / span > < span class = "st" > "radar"< / span > , < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > model, < span class = "dt" > y =< / span > value, < span class = "dt" > group =< / span > time))< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-9ff3f5edac00e7ee7de6" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-9ff3f5edac00e7ee7de6" > { "x" : { "ax_opts" : { "chart" : { "type" : "radar" } , "series" : [ { "name" : "drat" , "data" : [ { "x" : "Mazda RX4" , "y" : 3.9 } , { "x" : "Mazda RX4 Wag" , "y" : 3.9 } , { "x" : "Datsun 710" , "y" : 3.85 } , { "x" : "Hornet 4 Drive" , "y" : 3.08 } , { "x" : "Hornet Sportabout" , "y" : 3.15 } , { "x" : "Valiant" , "y" : 2.76 } ] } , { "name" : "wt" , "data" : [ { "x" : "Mazda RX4" , "y" : 2.62 } , { "x" : "Mazda RX4 Wag" , "y" : 2.875 } , { "x" : "Datsun 710" , "y" : 2.32 } , { "x" : "Hornet 4 Drive" , "y" : 3.215 } , { "x" : "Hornet Sportabout" , "y" : 3.44 } , { "x" : "Valiant" , "y" : 3.46 } ] } ] } , "auto_update" : true } , "evals" : [ ] , "jsHooks" : [ ] } < / script >
2019-02-18 20:32:34 +01:00
< / div >
< div id = "heatmap" class = "section level2" >
< h2 class = "hasAnchor" >
< a href = "#heatmap" class = "anchor" > < / a > Heatmap< / h2 >
< p > Create heatmap with :< / p >
2019-03-13 09:22:45 +01:00
< div class = "sourceCode" id = "cb17" > < pre class = "sourceCode r" > < code class = "sourceCode r" > < a class = "sourceLine" id = "cb17-1" title = "1" > txhousing2 < -< span class = "st" > < / span > txhousing < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
2019-11-28 11:40:30 +01:00
< a class = "sourceLine" id = "cb17-2" title = "2" > < span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/stats/filter.html" > filter< / a > < / span > (city < span class = "op" > %in%< / span > < span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/utils/head.html" > head< / a > < / span > (< span class = "kw" > < a href = "https://rdrr.io/r/base/unique.html" > unique< / a > < / span > (city)), year < span class = "op" > %in%< / span > < span class = "st" > < / span > < span class = "kw" > < a href = "https://rdrr.io/r/base/c.html" > c< / a > < / span > (< span class = "dv" > 2000< / span > , < span class = "dv" > 2001< / span > )) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
2019-03-13 09:22:45 +01:00
< a class = "sourceLine" id = "cb17-3" title = "3" > < span class = "st" > < / span > < span class = "kw" > rename< / span > (< span class = "dt" > val_med =< / span > median)< / a >
< a class = "sourceLine" id = "cb17-4" title = "4" > < / a >
2019-07-20 12:51:30 +02:00
< a class = "sourceLine" id = "cb17-5" title = "5" > < span class = "kw" > < a href = "../reference/apex.html" > apex< / a > < / span > (< / a >
< a class = "sourceLine" id = "cb17-6" title = "6" > < span class = "dt" > data =< / span > txhousing2,< / a >
< a class = "sourceLine" id = "cb17-7" title = "7" > < span class = "dt" > type =< / span > < span class = "st" > "heatmap"< / span > , < / a >
2019-11-28 11:40:30 +01:00
< a class = "sourceLine" id = "cb17-8" title = "8" > < span class = "dt" > mapping =< / span > < span class = "kw" > < a href = "../reference/apexcharter-exports.html" > aes< / a > < / span > (< span class = "dt" > x =< / span > date, < span class = "dt" > y =< / span > city, < span class = "dt" > fill =< / span > scales< span class = "op" > ::< / span > < span class = "kw" > < a href = "https://scales.r-lib.org//reference/rescale.html" > rescale< / a > < / span > (val_med))< / a >
2019-07-20 12:51:30 +02:00
< a class = "sourceLine" id = "cb17-9" title = "9" > ) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
< a class = "sourceLine" id = "cb17-10" title = "10" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_dataLabels.html" > ax_dataLabels< / a > < / span > (< span class = "dt" > enabled =< / span > < span class = "ot" > FALSE< / span > ) < span class = "op" > %> %< / span > < span class = "st" > < / span > < / a >
< a class = "sourceLine" id = "cb17-11" title = "11" > < span class = "st" > < / span > < span class = "kw" > < a href = "../reference/ax_colors.html" > ax_colors< / a > < / span > (< span class = "st" > "#008FFB"< / span > )< / a > < / code > < / pre > < / div >
2019-11-28 11:40:30 +01:00
< div id = "htmlwidget-ffd3891855afc8b2f63e" style = "width:100%;height:350px;" class = "apexcharter html-widget" > < / div >
< script type = "application/json" data-for = "htmlwidget-ffd3891855afc8b2f63e" > { " x " : { " a x _ o p t s " : { " c h a r t " : { " t y p e " : " h e a t m a p " } , " s e r i e s " : [ { " n a m e " : " A b i l e n e " , " d a t a " : [ { " x " : 2 0 0 0 , " y " : 0 . 1 3 6 2 7 0 4 9 1 8 0 3 2 7 9 } , { " x " : 2 0 0 0 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 0 0 6 1 4 7 5 4 0 9 8 3 6 0 6 5 6 } , { " x " : 2 0 0 0 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 } , { " x " : 2 0 0 0 . 2 5 , " y " : 0 . 1 0 7 5 8 1 9 6 7 2 1 3 1 1 5 } , { " x " : 2 0 0 0 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 0 9 4 2 6 2 2 9 5 0 8 1 9 6 7 2 } , { " x " : 2 0 0 0 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 0 9 0 1 6 3 9 3 4 4 2 6 2 2 9 5 } , { " x " : 2 0 0 0 . 5 , " y " : 0 . 1 5 7 7 8 6 8 8 5 2 4 5 9 0 2 } , { " x " : 2 0 0 0 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 1 7 3 1 5 5 7 3 7 7 0 4 9 1 8 } , { " x " : 2 0 0 0 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 0 6 5 5 7 3 7 7 0 4 9 1 8 0 3 3 } , { " x " : 2 0 0 0 . 7 5 , " y " : 0 . 0 1 2 2 9 5 0 8 1 9 6 7 2 1 3 1 } , { " x " : 2 0 0 0 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 1 3 1 1 4 7 5 4 0 9 8 3 6 0 7 } , { " x " : 2 0 0 0 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 0 7 0 6 9 6 7 2 1 3 1 1 4 7 5 4 } , { " x " : 2 0 0 1 , " y " : 0 . 0 6 5 5 7 3 7 7 0 4 9 1 8 0 3 3 } , { " x " : 2 0 0 1 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 1 1 0 6 5 5 7 3 7 7 0 4 9 1 8 } , { " x " : 2 0 0 1 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 1 4 5 4 9 1 8 0 3 2 7 8 6 8 9 } , { " x " : 2 0 0 1 . 2 5 , " y " : 0 . 1 3 7 2 9 5 0 8 1 9 6 7 2 1 3 } , { " x " : 2 0 0 1 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 1 3 2 1 7 2 1 3 1 1 4 7 5 4 1 } , { " x " : 2 0 0 1 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 2 0 4 9 1 8 0 3 2 7 8 6 8 8 5 } , { " x " : 2 0 0 1 . 5 , " y " : 0 . 2 9 3 0 3 2 7 8 6 8 8 5 2 4 6 } , { " x " : 2 0 0 1 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 1 1 1 6 8 0 3 2 7 8 6 8 8 5 2 } , { " x " : 2 0 0 1 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 0 6 2 5 } , { " x " : 2 0 0 1 . 7 5 , " y " : 0 . 0 6 6 5 9 8 3 6 0 6 5 5 7 3 7 7 } , { " x " : 2 0 0 1 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 1 1 2 7 0 4 9 1 8 0 3 2 7 8 7 } , { " x " : 2 0 0 1 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 1 4 0 3 6 8 8 5 2 4 5 9 0 1 6 } ] } , { " n a m e " : " A m a r i l l o " , " d a t a " : [ { " x " : 2 0 0 0 , " y " : 0 . 2 2 4 3 8 5 2 4 5 9 0 1 6 3 9 } , { " x " : 2 0 0 0 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 2 0 6 9 6 7 2 1 3 1 1 4 7 5 4 } , { " x " : 2 0 0 0 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 1 7 1 1 0 6 5 5 7 3 7 7 0 4 9 } , { " x " : 2 0 0 0 . 2 5 , " y " : 0 . 3 0 3 2 7 8 6 8 8 5 2 4 5 9 } , { " x " : 2 0 0 0 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 2 3 5 6 5 5 7 3 7 7 0 4 9 1 8 } , { " x " : 2 0 0 0 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 2 6 6 3 9 3 4 4 2 6 2 2 9 5 1 } , { " x " : 2 0 0 0 . 5 , " y " : 0 . 3 7 0 9 0 1 6 3 9 3 4 4 2 6 2 } , { " x " : 2 0 0 0 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 3 8 1 1 4 7 5 4 0 9 8 3 6 0 7 } , { " x " : 2 0 0 0 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 3 3 7 0 9 0 1 6 3 9 3 4 4 2 6 } , { " x " : 2 0 0 0 . 7 5 , " y " : 0 . 3 1 6 5 9 8 3 6 0 6 5 5 7 3 8 } , { " x " : 2 0 0 0 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 2 9 9 1 8 0 3 2 7 8 6 8 8 5 2 } , { " x " : 2 0 0 0 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 3 0 9 4 2 6 2 2 9 5 0 8 1 9 7 } , { " x " : 2 0 0 1 , " y " : 0 . 3 1 6 5 9 8 3 6 0 6 5 5 7 3 8 } , { " x " : 2 0 0 1 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 2 9 7 1 3 1 1 4 7 5 4 0 9 8 4 } , { " x " : 2 0 0 1 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 2 8 8 9 3 4 4 2 6 2 2 9 5 0 8 } , { " x " : 2 0 0 1 . 2 5 , " y " : 0 . 3 5 9 6 3 1 1 4 7 5 4 0 9 8 4 } , { " x " : 2 0 0 1 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 3 0 9 4 2 6 2 2 9 5 0 8 1 9 7 } , { " x " : 2 0 0 1 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 3 3 9 1 3 9 3 4 4 2 6 2 2 9 5 } , { " x " : 2 0 0 1 . 5 , " y " : 0 . 3 9 9 5 9 0 1 6 3 9 3 4 4 2 6 } , { " x " : 2 0 0 1 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 3 6 6 8 0 3 2 7 8 6 8 8 5 2 5 } , { " x " : 2 0 0 1 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 3 0 2 2 5 4 0 9 8 3 6 0 6 5 6 } , { " x " : 2 0 0 1 . 7 5 , " y " : 0 . 3 1 0 4 5 0 8 1 9 6 7 2 1 3 1 } , { " x " : 2 0 0 1 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 3 2 6 8 4 4 2 6 2 2 9 5 0 8 2 } , { " x " : 2 0 0 1 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 3 8 8 3 1 9 6 7 2 1 3 1 1 4 8 } ] } , { " n a m e " : " A r l i n g t o n " , " d a t a " : [ { " x " : 2 0 0 0 , " y " : 0 . 3 6 7 8 2 7 8 6 8 8 5 2 4 5 9 } , { " x " : 2 0 0 0 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 3 7 0 9 0 1 6 3 9 3 4 4 2 6 2 } , { " x " : 2 0 0 0 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 4 1 5 9 8 3 6 0 6 5 5 7 3 7 7 } , { " x " : 2 0 0 0 . 2 5 , " y " : 0 . 4 1 9 0 5 7 3 7 7 0 4 9 1 8 } , { " x " : 2 0 0 0 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 4 6 0 0 4 0 9 8 3 6 0 6 5 5 7 } , { " x " : 2 0 0 0 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 5 1 0 2 4 5 9 0 1 6 3 9 3 4 4 } , { " x " : 2 0 0 0 . 5 , " y " : 0 . 4 8 8 7 2 9 5 0 8 1 9 6 7 2 1 } , { " x " : 2 0 0 0 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 4 6 4 1 3 9 3 4 4 2 6 2 2 9 5 } , { " x " : 2 0 0 0 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 5 3 6 8 8 5 2 4 5 9 0 1 6 3 9 } , { " x " : 2 0 0 0 . 7 5 , " y " : 0 . 4 7 1 3 1 1 4 7 5 4 0 9 8 3 6 } , { " x " : 2 0 0 0 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 5 0 8 1 9 6 7 2 1 3 1 1 4 7 5 } , { " x " : 2 0 0 0 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 4 8 7 7 0 4 9 1 8 0 3 2 7 8 7 } , { " x " : 2 0 0 1 , " y " : 0 . 4 8 7 7 0 4 9 1 8 0 3 2 7 8 7 } , { " x " : 2 0 0 1 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 4 9 4 8 7 7 0 4 9 1 8 0 3 2 8 } , { " x " : 2 0 0 1 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 5 2 8 6 8 8 5 2 4 5 9 0 1 6 4 } , { " x " : 2 0 0 1 . 2 5 , " y " : 0 . 5 4 8 1 5 5 7 3 7 7 0 4 9 1 8 } , { " x " : 2 0 0 1 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 5 7 6 8 4 4 2 6 2 2 9 5 0 8 2 } , { " x " : 2 0 0 1 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 5 1 6 3 9 3 4 4 2 6 2 2 9 5 1 } , { " x " : 2 0 0 1 . 5 , " y " : 0 . 5 9 3 2 3 7 7 0 4 9 1 8 0 3 3 } , { " x " : 2 0 0 1 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 5 6 8 6 4 7 5 4 0 9 8 3 6 0 7 } , { " x " : 2 0 0 1 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 5 5 2 2 5 4 0 9 8 3 6 0 6 5 6 } , { " x " : 2 0 0 1 . 7 5 , " y " : 0 . 5 6 4 5 4 9 1 8 0 3 2 7 8 6 9 } , { " x " : 2 0 0 1 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 5 4 9 1 8 0 3 2 7 8 6 8 8 5 3 } , { " x " : 2 0 0 1 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 5 9 7 3 3 6 0 6 5 5 7 3 7 7 1 } ] } , { " n a m e " : " A u s t i n " , " d a t a " : [ { " x " : 2 0 0 0 , " y " : 0 . 7 7 4 5 9 0 1 6 3 9 3 4 4 2 6 } , { " x " : 2 0 0 0 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 7 7 7 6 6 3 9 3 4 4 2 6 2 2 9 } , { " x " : 2 0 0 0 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 8 0 5 3 2 7 8 6 8 8 5 2 4 5 9 } , { " x " : 2 0 0 0 . 2 5 , " y " : 0 . 8 0 7 3 7 7 0 4 9 1 8 0 3 2 8 } , { " x " : 2 0 0 0 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 8 8 7 2 9 5 0 8 1 9 6 7 2 1 3 } , { " x " : 2 0 0 0 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 9 2 9 3 0 3 2 7 8 6 8 8 5 2 5 } , { " x " : 2 0 0 0 . 5 , " y " : 0 . 9 3 4 4 2 6 2 2 9 5 0 8 1 9 7 } , { " x " : 2 0 0 0 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 9 0 3 6 8 8 5 2 4 5 9 0 1 6 4 } , { " x " : 2 0 0 0 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 9 2 8 2 7 8 6 8 8 5 2 4 5 9 } , { " x " : 2 0 0 0 . 7 5 , " y " : 0 . 9 4 2 6 2 2 9 5 0 8 1 9 6 7 2 } , { " x " : 2 0 0 0 . 8 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 9 2 1 1 0 6 5 5 7 3 7 7 0 4 9 } , { " x " : 2 0 0 0 . 9 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 9 4 0 5 7 3 7 7 0 4 9 1 8 0 3 } , { " x " : 2 0 0 1 , " y " : 0 . 8 5 9 6 3 1 1 4 7 5 4 0 9 8 4 } , { " x " : 2 0 0 1 . 0 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 9 5 1 8 4 4 2 6 2 2 9 5 0 8 2 } , { " x " : 2 0 0 1 . 1 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 9 2 6 2 2 9 5 0 8 1 9 6 7 2 1 } , { " x " : 2 0 0 1 . 2 5 , " y " : 0 . 9 5 2 8 6 8 8 5 2 4 5 9 0 1 6 } , { " x " : 2 0 0 1 . 3 3 3 3 3 3 3 3 3 3 3 , " y " : 0 . 9 6 1 0 6 5 5 7 3 7 7 0 4 9 2 } , { " x " : 2 0 0 1 . 4 1 6 6 6 6 6 6 6 6 7 , " y " : 0 . 9 5 6 9 6 7 2 1 3 1 1 4 7 5 4 } , { " x " : 2 0 0 1 . 5 , " y " : 0 . 9 9 7 9 5 0 8 1 9 6 7 2 1 3 1 } , { " x " : 2 0 0 1 . 5 8 3 3 3 3 3 3 3 3 3 , " y " : 0 . 9 8 0 5 3 2 7 8 6 8 8 5 2 4 6 } , { " x " : 2 0 0 1 . 6 6 6 6 6 6 6 6 6 6 7 , " y " : 0 . 9 0 8 8 1 1 4 7 5 4 0 9 8 3 6 } , {
2019-02-18 20:32:34 +01:00
< / div >
< / div >
< div class = "col-md-3 hidden-xs hidden-sm" id = "sidebar" >
2019-09-06 13:03:56 +02:00
2019-02-18 20:32:34 +01:00
< div id = "tocnav" >
< h2 class = "hasAnchor" >
< a href = "#tocnav" class = "anchor" > < / a > Contents< / h2 >
< ul class = "nav nav-pills nav-stacked" >
< li > < a href = "#bar-charts" > Bar charts< / a > < / li >
< li > < a href = "#line-charts" > Line charts< / a > < / li >
< li > < a href = "#scatter-charts" > Scatter charts< / a > < / li >
< li > < a href = "#pie-charts" > Pie charts< / a > < / li >
< li > < a href = "#radial-charts" > Radial charts< / a > < / li >
< li > < a href = "#radar-charts" > Radar charts< / a > < / li >
< li > < a href = "#heatmap" > Heatmap< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
2019-11-28 11:40:30 +01:00
2019-02-18 20:32:34 +01:00
< footer > < div class = "copyright" >
< p > Developed by < a href = "https://twitter.com/_pvictorr" > < img src = "https://pbs.twimg.com/profile_images/844237339404722177/E1U61aM8_normal.jpg" > Victor Perrier< / a > , < a href = "https://twitter.com/_mfaan" > < img src = "https://pbs.twimg.com/profile_images/912313931326218240/o1-wvA18_normal.jpg" > Fanny Meyer< / a > .< / p >
< / div >
< div class = "pkgdown" >
2019-11-28 11:40:30 +01:00
< p > Site built with < a href = "https://pkgdown.r-lib.org/" > pkgdown< / a > 1.4.1.< / p >
2019-02-18 20:32:34 +01:00
< / div >
2019-11-28 11:40:30 +01:00
2019-02-18 20:32:34 +01:00
< / footer >
< / div >
2019-11-28 11:40:30 +01:00
2019-02-18 20:32:34 +01:00
< / body >
< / html >