|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
- <head>
-
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <title>Chapitre 9 Visualisation de réseaux et graphes | Visualisation de données : éléments théoriques et applications avec R</title>
- <meta name="description" content="Cours introductif à la visualisation de données avec R. Ce cours a pour but d introduire les concepts théoriques de base en visualisation ainsi que des exemples concrets." />
- <meta name="generator" content="bookdown 0.12 and GitBook 2.6.7" />
-
- <meta property="og:title" content="Chapitre 9 Visualisation de réseaux et graphes | Visualisation de données : éléments théoriques et applications avec R" />
- <meta property="og:type" content="book" />
-
-
- <meta property="og:description" content="Cours introductif à la visualisation de données avec R. Ce cours a pour but d introduire les concepts théoriques de base en visualisation ainsi que des exemples concrets." />
-
-
- <meta name="twitter:card" content="summary" />
- <meta name="twitter:title" content="Chapitre 9 Visualisation de réseaux et graphes | Visualisation de données : éléments théoriques et applications avec R" />
-
- <meta name="twitter:description" content="Cours introductif à la visualisation de données avec R. Ce cours a pour but d introduire les concepts théoriques de base en visualisation ainsi que des exemples concrets." />
-
-
- <meta name="author" content="Antoine Neuraz" />
-
-
- <meta name="date" content="2019-10-30" />
-
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
-
-
- <link rel="prev" href="visualisation-de-donnees-spatiales.html">
- <link rel="next" href="visualisation-de-texte.html">
- <script src="libs/jquery-2.2.3/jquery.min.js"></script>
- <link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
- <link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
- <link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
- <link href="libs/gitbook-2.6.7/css/plugin-highlight.css" rel="stylesheet" />
- <link href="libs/gitbook-2.6.7/css/plugin-search.css" rel="stylesheet" />
- <link href="libs/gitbook-2.6.7/css/plugin-fontsettings.css" rel="stylesheet" />
-
-
-
-
-
-
-
-
-
- <style type="text/css">
- a.sourceLine { display: inline-block; line-height: 1.25; }
- a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
- a.sourceLine:empty { height: 1.2em; }
- .sourceCode { overflow: visible; }
- code.sourceCode { white-space: pre; position: relative; }
- pre.sourceCode { margin: 0; }
- @media screen {
- div.sourceCode { overflow: auto; }
- }
- @media print {
- code.sourceCode { white-space: pre-wrap; }
- a.sourceLine { text-indent: -1em; padding-left: 1em; }
- }
- pre.numberSource a.sourceLine
- { position: relative; left: -4em; }
- pre.numberSource a.sourceLine::before
- { content: attr(data-line-number);
- position: relative; left: -1em; text-align: right; vertical-align: baseline;
- border: none; pointer-events: all; display: inline-block;
- -webkit-touch-callout: none; -webkit-user-select: none;
- -khtml-user-select: none; -moz-user-select: none;
- -ms-user-select: none; user-select: none;
- padding: 0 4px; width: 4em;
- color: #aaaaaa;
- }
- pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
- div.sourceCode
- { }
- @media screen {
- a.sourceLine::before { text-decoration: underline; }
- }
- code span.al { color: #ff0000; font-weight: bold; }
- code span.an { color: #60a0b0; font-weight: bold; font-style: italic; }
- code span.at { color: #7d9029; }
- code span.bn { color: #40a070; }
- code span.bu { }
- code span.cf { color: #007020; font-weight: bold; }
- code span.ch { color: #4070a0; }
- code span.cn { color: #880000; }
- code span.co { color: #60a0b0; font-style: italic; }
- code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; }
- code span.do { color: #ba2121; font-style: italic; }
- code span.dt { color: #902000; }
- code span.dv { color: #40a070; }
- code span.er { color: #ff0000; font-weight: bold; }
- code span.ex { }
- code span.fl { color: #40a070; }
- code span.fu { color: #06287e; }
- code span.im { }
- code span.in { color: #60a0b0; font-weight: bold; font-style: italic; }
- code span.kw { color: #007020; font-weight: bold; }
- code span.op { color: #666666; }
- code span.ot { color: #007020; }
- code span.pp { color: #bc7a00; }
- code span.sc { color: #4070a0; }
- code span.ss { color: #bb6688; }
- code span.st { color: #4070a0; }
- code span.va { color: #19177c; }
- code span.vs { color: #4070a0; }
- code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; }
- </style>
-
- <link rel="stylesheet" href="style.css" type="text/css" />
- </head>
-
- <body>
-
-
-
- <div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
-
- <div class="book-summary">
- <nav role="navigation">
-
- <ul class="summary">
- <li><a href="./">Visualisation de données : éléments théoriques et applications avec R</a></li>
-
- <li class="divider"></li>
- <li class="chapter" data-level="" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i>Prerequis</a><ul>
- <li class="chapter" data-level="" data-path="index.html"><a href="index.html#installer-r"><i class="fa fa-check"></i>Installer R</a></li>
- <li class="chapter" data-level="" data-path="index.html"><a href="index.html#installer-rstudio-facultatif"><i class="fa fa-check"></i>Installer RStudio (facultatif)</a></li>
- <li class="chapter" data-level="" data-path="index.html"><a href="index.html#installer-les-packages-necessaires"><i class="fa fa-check"></i>Installer les packages nécessaires</a></li>
- </ul></li>
- <li class="chapter" data-level="1" data-path="intro.html"><a href="intro.html"><i class="fa fa-check"></i><b>1</b> Intro</a><ul>
- <li class="chapter" data-level="1.1" data-path="intro.html"><a href="intro.html#section"><i class="fa fa-check"></i><b>1.1</b> </a></li>
- <li class="chapter" data-level="1.2" data-path="intro.html"><a href="intro.html#mappings-in-ggplot"><i class="fa fa-check"></i><b>1.2</b> Mappings in ggplot</a></li>
- <li class="chapter" data-level="1.3" data-path="intro.html"><a href="intro.html#scales-in-ggplot"><i class="fa fa-check"></i><b>1.3</b> scales in ggplot</a></li>
- </ul></li>
- <li class="chapter" data-level="2" data-path="types-de-datasets-et-types-de-donnees.html"><a href="types-de-datasets-et-types-de-donnees.html"><i class="fa fa-check"></i><b>2</b> Types de datasets et types de données</a><ul>
- <li class="chapter" data-level="2.1" data-path="types-de-datasets-et-types-de-donnees.html"><a href="types-de-datasets-et-types-de-donnees.html#todo"><i class="fa fa-check"></i><b>2.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="3" data-path="perception-systeme-visuel-marques-et-canaux-couleurs.html"><a href="perception-systeme-visuel-marques-et-canaux-couleurs.html"><i class="fa fa-check"></i><b>3</b> Perception : système visuel, marques et canaux, couleurs</a><ul>
- <li class="chapter" data-level="3.1" data-path="perception-systeme-visuel-marques-et-canaux-couleurs.html"><a href="perception-systeme-visuel-marques-et-canaux-couleurs.html#todo-1"><i class="fa fa-check"></i><b>3.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="4" data-path="abstraction-de-tache.html"><a href="abstraction-de-tache.html"><i class="fa fa-check"></i><b>4</b> Abstraction de tâche</a><ul>
- <li class="chapter" data-level="4.1" data-path="abstraction-de-tache.html"><a href="abstraction-de-tache.html#todo-2"><i class="fa fa-check"></i><b>4.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="5" data-path="principes-de-design.html"><a href="principes-de-design.html"><i class="fa fa-check"></i><b>5</b> Principes de design</a><ul>
- <li class="chapter" data-level="5.1" data-path="principes-de-design.html"><a href="principes-de-design.html#todo-3"><i class="fa fa-check"></i><b>5.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="6" data-path="visualisation-de-donnees-tabulaires.html"><a href="visualisation-de-donnees-tabulaires.html"><i class="fa fa-check"></i><b>6</b> Visualisation de données tabulaires</a><ul>
- <li class="chapter" data-level="6.1" data-path="visualisation-de-donnees-tabulaires.html"><a href="visualisation-de-donnees-tabulaires.html#todo-4"><i class="fa fa-check"></i><b>6.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="7" data-path="interaction.html"><a href="interaction.html"><i class="fa fa-check"></i><b>7</b> Interaction</a><ul>
- <li class="chapter" data-level="7.1" data-path="interaction.html"><a href="interaction.html#todo-5"><i class="fa fa-check"></i><b>7.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="8" data-path="visualisation-de-donnees-spatiales.html"><a href="visualisation-de-donnees-spatiales.html"><i class="fa fa-check"></i><b>8</b> Visualisation de données spatiales</a><ul>
- <li class="chapter" data-level="8.1" data-path="visualisation-de-donnees-spatiales.html"><a href="visualisation-de-donnees-spatiales.html#todo-6"><i class="fa fa-check"></i><b>8.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="9" data-path="visualisation-de-reseaux-et-graphes.html"><a href="visualisation-de-reseaux-et-graphes.html"><i class="fa fa-check"></i><b>9</b> Visualisation de réseaux et graphes</a></li>
- <li class="chapter" data-level="10" data-path="visualisation-de-texte.html"><a href="visualisation-de-texte.html"><i class="fa fa-check"></i><b>10</b> Visualisation de texte</a><ul>
- <li class="chapter" data-level="10.1" data-path="visualisation-de-texte.html"><a href="visualisation-de-texte.html#todo-7"><i class="fa fa-check"></i><b>10.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="11" data-path="visualisation-de-texte-1.html"><a href="visualisation-de-texte-1.html"><i class="fa fa-check"></i><b>11</b> Visualisation de texte</a><ul>
- <li class="chapter" data-level="11.1" data-path="visualisation-de-texte-1.html"><a href="visualisation-de-texte-1.html#todo-8"><i class="fa fa-check"></i><b>11.1</b> TODO</a></li>
- </ul></li>
- <li class="chapter" data-level="12" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html"><i class="fa fa-check"></i><b>12</b> <code>ggplot2</code> : techniques avancées</a><ul>
- <li class="chapter" data-level="12.1" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#creer-son-propre-theme-ggplot2"><i class="fa fa-check"></i><b>12.1</b> Créer son propre thème <code>ggplot2</code></a><ul>
- <li class="chapter" data-level="12.1.1" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#un-theme-est-une-fonction"><i class="fa fa-check"></i><b>12.1.1</b> un thème est une fonction</a></li>
- <li class="chapter" data-level="12.1.2" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#modifier-un-theme-de-base-avec-replace"><i class="fa fa-check"></i><b>12.1.2</b> modifier un thème de base avec <code>%+replace%</code></a></li>
- <li class="chapter" data-level="12.1.3" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#definir-de-nouveaux-attributs"><i class="fa fa-check"></i><b>12.1.3</b> définir de nouveaux attributs</a></li>
- <li class="chapter" data-level="12.1.4" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#exemple"><i class="fa fa-check"></i><b>12.1.4</b> Exemple</a></li>
- </ul></li>
- <li class="chapter" data-level="12.2" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#utiliser-ggplot2-dans-des-fonctions"><i class="fa fa-check"></i><b>12.2</b> Utiliser <code>ggplot2</code> dans des fonctions</a></li>
- </ul></li>
- <li class="chapter" data-level="" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i>References</a></li>
- <li class="divider"></li>
- <li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
-
- </ul>
-
- </nav>
- </div>
-
- <div class="book-body">
- <div class="body-inner">
- <div class="book-header" role="navigation">
- <h1>
- <i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Visualisation de données : éléments théoriques et applications avec R</a>
- </h1>
- </div>
-
- <div class="page-wrapper" tabindex="-1" role="main">
- <div class="page-inner">
-
- <section class="normal" id="section-">
- <div id="visualisation-de-reseaux-et-graphes" class="section level1">
- <h1><span class="header-section-number">Chapitre 9</span> Visualisation de réseaux et graphes</h1>
- <p><img src="dataviz_files/figure-html/unnamed-chunk-19-1.png" width="672" /></p>
- <p><img src="dataviz_files/figure-html/unnamed-chunk-20-1.png" width="672" /></p>
- <p><img src="dataviz_files/figure-html/unnamed-chunk-21-1.png" width="672" /></p>
- <p><img src="dataviz_files/figure-html/unnamed-chunk-22-1.png" width="672" /></p>
- <p><img src="dataviz_files/figure-html/unnamed-chunk-23-1.png" width="672" /></p>
- <pre><code>## Warning: Ignoring unknown parameters: fold</code></pre>
- <p><img src="dataviz_files/figure-html/unnamed-chunk-24-1.png" width="672" /></p>
-
- </div>
- </section>
-
- </div>
- </div>
- </div>
- <a href="visualisation-de-donnees-spatiales.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
- <a href="visualisation-de-texte.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
- </div>
- </div>
- <script src="libs/gitbook-2.6.7/js/app.min.js"></script>
- <script src="libs/gitbook-2.6.7/js/lunr.js"></script>
- <script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>
- <script src="libs/gitbook-2.6.7/js/plugin-sharing.js"></script>
- <script src="libs/gitbook-2.6.7/js/plugin-fontsettings.js"></script>
- <script src="libs/gitbook-2.6.7/js/plugin-bookdown.js"></script>
- <script src="libs/gitbook-2.6.7/js/jquery.highlight.js"></script>
- <script>
- gitbook.require(["gitbook"], function(gitbook) {
- gitbook.start({
- "sharing": {
- "github": false,
- "facebook": true,
- "twitter": true,
- "google": false,
- "linkedin": false,
- "weibo": false,
- "instapaper": false,
- "vk": false,
- "all": ["facebook", "google", "twitter", "linkedin", "weibo", "instapaper"]
- },
- "fontsettings": {
- "theme": "white",
- "family": "sans",
- "size": 2
- },
- "edit": {
- "link": null,
- "text": null
- },
- "history": {
- "link": null,
- "text": null
- },
- "download": ["dataviz.pdf", "dataviz.epub"],
- "toc": {
- "collapse": "subsection"
- }
- });
- });
- </script>
-
- </body>
-
- </html>
|