From 9156ee1058b7d4d02ef4f93cc74cd39fcce24fe0 Mon Sep 17 00:00:00 2001 From: Yan Holtz Date: Thu, 20 Jun 2024 15:26:10 +0200 Subject: [PATCH] fix self contain --- caveat/declutter.Rmd | 3 + caveat/declutter.html | 2457 +--- caveat/libs/circlepackeR-0.1/style.css | 24 + .../circlepackeR.js | 106 + caveat/libs/colorbrewer-1/LICENSE.txt | 38 + caveat/libs/colorbrewer-1/colorbrewer.css | 1690 +++ caveat/libs/colorbrewer-1/colorbrewer.js | 302 + caveat/libs/crosstalk-1.0.0/css/crosstalk.css | 27 + caveat/libs/crosstalk-1.0.0/js/crosstalk.js | 1471 +++ .../libs/crosstalk-1.0.0/js/crosstalk.js.map | 37 + .../libs/crosstalk-1.0.0/js/crosstalk.min.js | 2 + .../crosstalk-1.0.0/js/crosstalk.min.js.map | 1 + .../crosstalk-1.2.1/css/crosstalk.min.css | 1 + caveat/libs/crosstalk-1.2.1/js/crosstalk.js | 1474 +++ .../libs/crosstalk-1.2.1/js/crosstalk.js.map | 37 + .../libs/crosstalk-1.2.1/js/crosstalk.min.js | 2 + .../crosstalk-1.2.1/js/crosstalk.min.js.map | 1 + .../libs/crosstalk-1.2.1/scss/crosstalk.scss | 75 + caveat/libs/d3-3.5.3/CONTRIBUTING.md | 25 + caveat/libs/d3-3.5.3/LICENSE | 26 + caveat/libs/d3-3.5.3/bower.json | 26 + caveat/libs/d3-3.5.3/d3.js | 9503 ++++++++++++++ caveat/libs/d3-3.5.3/d3.min.js | 5 + caveat/libs/d3-3.5.6/CONTRIBUTING.md | 27 + caveat/libs/d3-3.5.6/LICENSE | 26 + caveat/libs/d3-3.5.6/README.md | 9 + caveat/libs/d3-3.5.6/bower.json | 25 + caveat/libs/d3-3.5.6/d3.js | 9504 ++++++++++++++ caveat/libs/d3-3.5.6/d3.min.js | 5 + caveat/libs/d3-3.5.6/package.js | 13 + caveat/libs/d3-4.5.0/LICENSE | 27 + caveat/libs/d3-4.5.0/d3.min.js | 8 + caveat/libs/d3-tip-0.6.6/LICENSE | 8 + caveat/libs/d3-tip-0.6.6/README.md | 43 + caveat/libs/d3-tip-0.6.6/index.js | 299 + caveat/libs/d3-tip-0.6.6/package.json | 28 + .../d3heatmap-binding-0.6.1.2/d3heatmap.js | 115 + .../libs/d3heatmap-binding-0.9.0/d3heatmap.js | 117 + .../libs/d3heatmapcore-0.0.0/heatmapcore.css | 197 + .../libs/d3heatmapcore-0.0.0/heatmapcore.js | 1511 +++ caveat/libs/d3tree2-0.1/d3tree2.css | 53 + caveat/libs/d3tree2-binding-0.1/d3tree2.js | 339 + caveat/libs/d3v3-3.5.3/CONTRIBUTING.md | 25 + caveat/libs/d3v3-3.5.3/LICENSE | 26 + caveat/libs/d3v3-3.5.3/README.md | 9 + caveat/libs/d3v3-3.5.3/d3v3.js | 9468 ++++++++++++++ caveat/libs/d3v3-3.5.3/d3v3.min.js | 5 + caveat/libs/d3v3-tip-0.6.6/LICENSE | 8 + caveat/libs/d3v3-tip-0.6.6/README.md | 43 + caveat/libs/d3v3-tip-0.6.6/index.js | 299 + caveat/libs/d3v3-tip-0.6.6/package.json | 28 + caveat/libs/header-attrs-2.26/header-attrs.js | 12 + caveat/libs/header-attrs-2.27/header-attrs.js | 12 + caveat/libs/htmltools-fill-0.5.8.1/fill.css | 21 + caveat/libs/htmlwidgets-1.2.1/htmlwidgets.js | 839 ++ caveat/libs/htmlwidgets-1.2/htmlwidgets.js | 836 ++ caveat/libs/htmlwidgets-1.6.4/htmlwidgets.js | 901 ++ caveat/libs/jquery-3.6.0/jquery-3.6.0.js | 10881 ++++++++++++++++ caveat/libs/jquery-3.6.0/jquery-3.6.0.min.js | 2 + caveat/libs/jquery-3.6.0/jquery-3.6.0.min.map | 1 + caveat/libs/kePrint-0.0.1/kePrint.js | 8 + caveat/libs/lightable-0.0.1/lightable.css | 272 + .../libs/navigation-1.1/codefolding-lua.css | 9 + caveat/libs/navigation-1.1/codefolding.js | 31 +- caveat/libs/plotly-binding-4.10.4/plotly.js | 941 ++ caveat/libs/plotly-binding-4.7.1/plotly.js | 823 ++ .../plotly-htmlwidgets.css | 9 + .../plotly-main-2.11.1/plotly-latest.min.js | 69 + caveat/libs/plotlyjs-1.29.2/LICENSE | 21 + .../plotlyjs-1.29.2/plotly-htmlwidgets.css | 9 + .../libs/plotlyjs-1.29.2/plotly-latest.min.js | 78 + caveat/libs/sankey-1/d3-4.5.0/LICENSE | 27 + caveat/libs/sankey-1/d3-4.5.0/d3.min.js | 8 + caveat/libs/sankey-1/sankey.js | 410 + .../sankeyNetwork.js | 247 + caveat/libs/streamgraph-1/streamgraph.css | 14 + .../streamgraph-binding-0.8.1/streamgraph.js | 350 + .../streamgraph-binding-0.9.0/streamgraph.js | 356 + caveat/libs/typedarray-0.1/typedarray.min.js | 1 + caveat/libs/wordcloud2-0.0.1/hover.js | 129 + caveat/libs/wordcloud2-0.0.1/wordcloud.css | 19 + .../libs/wordcloud2-0.0.1/wordcloud2-all.js | 1149 ++ .../wordcloud2-binding-0.2.1/wordcloud2.js | 53 + 83 files changed, 55851 insertions(+), 2285 deletions(-) create mode 100644 caveat/libs/circlepackeR-0.1/style.css create mode 100644 caveat/libs/circlepackeR-binding-0.0.0.9000/circlepackeR.js create mode 100644 caveat/libs/colorbrewer-1/LICENSE.txt create mode 100644 caveat/libs/colorbrewer-1/colorbrewer.css create mode 100644 caveat/libs/colorbrewer-1/colorbrewer.js create mode 100644 caveat/libs/crosstalk-1.0.0/css/crosstalk.css create mode 100644 caveat/libs/crosstalk-1.0.0/js/crosstalk.js create mode 100644 caveat/libs/crosstalk-1.0.0/js/crosstalk.js.map create mode 100644 caveat/libs/crosstalk-1.0.0/js/crosstalk.min.js create mode 100644 caveat/libs/crosstalk-1.0.0/js/crosstalk.min.js.map create mode 100644 caveat/libs/crosstalk-1.2.1/css/crosstalk.min.css create mode 100644 caveat/libs/crosstalk-1.2.1/js/crosstalk.js create mode 100644 caveat/libs/crosstalk-1.2.1/js/crosstalk.js.map create mode 100644 caveat/libs/crosstalk-1.2.1/js/crosstalk.min.js create mode 100644 caveat/libs/crosstalk-1.2.1/js/crosstalk.min.js.map create mode 100644 caveat/libs/crosstalk-1.2.1/scss/crosstalk.scss create mode 100644 caveat/libs/d3-3.5.3/CONTRIBUTING.md create mode 100644 caveat/libs/d3-3.5.3/LICENSE create mode 100644 caveat/libs/d3-3.5.3/bower.json create mode 100644 caveat/libs/d3-3.5.3/d3.js create mode 100644 caveat/libs/d3-3.5.3/d3.min.js create mode 100644 caveat/libs/d3-3.5.6/CONTRIBUTING.md create mode 100644 caveat/libs/d3-3.5.6/LICENSE create mode 100644 caveat/libs/d3-3.5.6/README.md create mode 100644 caveat/libs/d3-3.5.6/bower.json create mode 100644 caveat/libs/d3-3.5.6/d3.js create mode 100644 caveat/libs/d3-3.5.6/d3.min.js create mode 100644 caveat/libs/d3-3.5.6/package.js create mode 100644 caveat/libs/d3-4.5.0/LICENSE create mode 100644 caveat/libs/d3-4.5.0/d3.min.js create mode 100644 caveat/libs/d3-tip-0.6.6/LICENSE create mode 100644 caveat/libs/d3-tip-0.6.6/README.md create mode 100644 caveat/libs/d3-tip-0.6.6/index.js create mode 100644 caveat/libs/d3-tip-0.6.6/package.json create mode 100644 caveat/libs/d3heatmap-binding-0.6.1.2/d3heatmap.js create mode 100644 caveat/libs/d3heatmap-binding-0.9.0/d3heatmap.js create mode 100644 caveat/libs/d3heatmapcore-0.0.0/heatmapcore.css create mode 100644 caveat/libs/d3heatmapcore-0.0.0/heatmapcore.js create mode 100644 caveat/libs/d3tree2-0.1/d3tree2.css create mode 100644 caveat/libs/d3tree2-binding-0.1/d3tree2.js create mode 100644 caveat/libs/d3v3-3.5.3/CONTRIBUTING.md create mode 100644 caveat/libs/d3v3-3.5.3/LICENSE create mode 100644 caveat/libs/d3v3-3.5.3/README.md create mode 100644 caveat/libs/d3v3-3.5.3/d3v3.js create mode 100644 caveat/libs/d3v3-3.5.3/d3v3.min.js create mode 100644 caveat/libs/d3v3-tip-0.6.6/LICENSE create mode 100644 caveat/libs/d3v3-tip-0.6.6/README.md create mode 100644 caveat/libs/d3v3-tip-0.6.6/index.js create mode 100644 caveat/libs/d3v3-tip-0.6.6/package.json create mode 100644 caveat/libs/header-attrs-2.26/header-attrs.js create mode 100644 caveat/libs/header-attrs-2.27/header-attrs.js create mode 100644 caveat/libs/htmltools-fill-0.5.8.1/fill.css create mode 100644 caveat/libs/htmlwidgets-1.2.1/htmlwidgets.js create mode 100644 caveat/libs/htmlwidgets-1.2/htmlwidgets.js create mode 100644 caveat/libs/htmlwidgets-1.6.4/htmlwidgets.js create mode 100644 caveat/libs/jquery-3.6.0/jquery-3.6.0.js create mode 100644 caveat/libs/jquery-3.6.0/jquery-3.6.0.min.js create mode 100644 caveat/libs/jquery-3.6.0/jquery-3.6.0.min.map create mode 100644 caveat/libs/kePrint-0.0.1/kePrint.js create mode 100644 caveat/libs/lightable-0.0.1/lightable.css create mode 100644 caveat/libs/navigation-1.1/codefolding-lua.css create mode 100644 caveat/libs/plotly-binding-4.10.4/plotly.js create mode 100644 caveat/libs/plotly-binding-4.7.1/plotly.js create mode 100644 caveat/libs/plotly-htmlwidgets-css-2.11.1/plotly-htmlwidgets.css create mode 100644 caveat/libs/plotly-main-2.11.1/plotly-latest.min.js create mode 100644 caveat/libs/plotlyjs-1.29.2/LICENSE create mode 100644 caveat/libs/plotlyjs-1.29.2/plotly-htmlwidgets.css create mode 100644 caveat/libs/plotlyjs-1.29.2/plotly-latest.min.js create mode 100644 caveat/libs/sankey-1/d3-4.5.0/LICENSE create mode 100644 caveat/libs/sankey-1/d3-4.5.0/d3.min.js create mode 100644 caveat/libs/sankey-1/sankey.js create mode 100644 caveat/libs/sankeyNetwork-binding-0.4/sankeyNetwork.js create mode 100644 caveat/libs/streamgraph-1/streamgraph.css create mode 100644 caveat/libs/streamgraph-binding-0.8.1/streamgraph.js create mode 100644 caveat/libs/streamgraph-binding-0.9.0/streamgraph.js create mode 100644 caveat/libs/typedarray-0.1/typedarray.min.js create mode 100644 caveat/libs/wordcloud2-0.0.1/hover.js create mode 100644 caveat/libs/wordcloud2-0.0.1/wordcloud.css create mode 100644 caveat/libs/wordcloud2-0.0.1/wordcloud2-all.js create mode 100644 caveat/libs/wordcloud2-binding-0.2.1/wordcloud2.js diff --git a/caveat/declutter.Rmd b/caveat/declutter.Rmd index 82e0205..a2961e2 100644 --- a/caveat/declutter.Rmd +++ b/caveat/declutter.Rmd @@ -4,6 +4,9 @@ mytitle: "Decluttering your chart" pathSlug: "declutter" output: html_document: + self_contained: false + mathjax: default + lib_dir: libs template: template_caveat.html theme: "lumen" css: style.css diff --git a/caveat/declutter.html b/caveat/declutter.html index 6ae740e..3d65849 100644 --- a/caveat/declutter.html +++ b/caveat/declutter.html @@ -1,1751 +1,150 @@ - + Decluttering your chart - + - + - + - - - + + + + /* Create the parallax scrolling effect */ + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + + + height: 100%; !important; + width: 100% !important; + } + .mytitle{ + text-transform: uppercase; + font-family: 'Montserrat'; + font-size: 200%; + font-weight: 500; + letter-spacing: 4px; + } +

- +



Decluttering your chart

- A collection of common - dataviz caveats - by Data-to-Viz.com + A collection of common + dataviz caveats + by Data-to-Viz.com


- +
- - + + - - - - + + + + - - - - + + + - + + @@ -1758,26 +157,26 @@ + .main-container { + max-width: 940px; + margin-left: auto; + margin-right: auto; + } + code { + color: inherit; + background-color: rgba(0, 0, 0, 0.04); + } + img { + max-width: 100%; + height: auto; + } + .tabbed-pane { + padding-top: 12px; + } + button.code-folding-btn:focus { + outline: none; + } +
@@ -1790,10 +189,10 @@ + .code-folding-btn { + margin-bottom: 4px; + } + + " + > +

- High Resolution Poster + High Resolution Poster
-   +  

A work by Yan Holtz for data-to-viz.com

- +

@@ -1932,531 +357,7 @@

- + -  +