D3, Data Visualization – Créer un nuage de mots en Data Visualisation sur la base d’un texte

Data Visualization, c’est un mot que l’on entend souvent sans forcément très bien savoir ce qu’il recouvre et quel sésame à utiliser pour nous ouvrir le monde merveilleux des “dataviz”. On a donc choisi à la fois de rappeler l’intérêt éventuel d’une “dataivz” pour rehausser du contenu et par conséquent de faire un POC (Proof Of Concept) avec la bibliothèque javascript D3.

1. Pourquoi la “Data Visualization” ?

Bon, expédions dès à présent les banalités d’usage sur “l’infobesité(*)” dont au quotidien nous sommes des victimes consentantes. Phénomène qui s’articule, disons-le, autour de 2 principes fondateurs(**) :

  • Le temps réel, une information purement émotionnel, qui suscite au choix la jalousie, l’effroi ou la pitié.
  • Le temps suspendu ce que l’on nomme habituellement la réflexion, souvent pénétrante parfois indigeste. Cela peut même se révéler aride comme un tableur CSV, sexy comme un manuel de statistique imprimé sur papier bible.

(*)Merci à E pour ce rappel, il s’agit de la contraction entre information + obésité = infobesité mais que l’on avait plus réduit encore à un banal infosité incomprehensible
(**) ces affirmations péremptoires n’impliquent que leur auteur.
L’une ou l’autre de ces tendances peut occasionner de sérieux cas d’indigestion voir de rejet temporaire de toute information.

C’est donc ici qu’intervient le Data Visualization, le nouvel eldorado du “storytelling digital” pour traiter les données brutes livrées à flot continu et donner une consistance à cette information pléthorique.

En effet, la visualisation reste le moyen le plus approprié pour faire comprendre l’essentiel d’une information à l’aide de ce que l’on pourrait nommer la concision visuelle.
Certes, les mauvaises langues pourront prétendre que réduire l’information à sa portion congrue en la simplifiant, c’est la tronquer, la manipuler… en effet, mais le trop plein d’information ne tue-t-il pas l’information ? A cette question cornélienne, on se garde bien de trancher.

De manière pratique, on va voir ce qu’une bibliothèque javascript comme D3 peut apporter à la réflexion sur l’information. On a choisi D3 car c’est sans doute la bibliothèque javascript la plus aboutie et la plus accessible vu le nombre d’exemples à monter soi-même que l’on trouve sur le Web. Il existe néanmoins de très nombreuses alternatives sur le marché, plus ou moins intuitives comme Raphaël par exemple. Enfin, il existe un peu de littérature sur le maniement de D3, les deux ouvrages de référence sont cités en fin d’article.

2. Qu’est-ce que D3

D3 est l’abréviation qui désigne une bibliothèque javascript utilisée pour créer des “data visualizations”. Toutefois, cette abréviation est une contraction de “Data-Driven Documents”. En gros, D3 convertit en HTML ou en SVG, les données brutes que vous lui fournissez.
Cette bibliothèque JS conçu à l’origine par Mike Bostock est disponible sur gratuitement sur GitHub et le site officiel est la suivante : d3js.org

Notre cas pratique est simple, il a pour objectif de créer un nuage de mots à partir de 2 discours de Manuel Valls sur la sécurité.

En effet, on parle beaucoup des éléments de langages, à savoir les mots-clés dont les hommes politiques français et d’ailleurs nous martèlent à longueur d’intervention.

Pour illustrer une possible application de l’intérêt de la “dataviz” à cette question journaliste. On va donc explorer le champs sémantique de Manuel Valls sur la sécurité au travers deux des ses discours. On a seulement choisi deux discours certes représentatifs mais c’est un léger mais c’est faute de pouvoir en trouver plus sur le Web !

Quelques articles sur les éléments de langage
Pour en savoir un peu plus, voilà quelques articles sur cette notion de “éléments de langage”.

1. Lister les mots-clés et la fréquence d’utilisation
Ce script bash wf.sh permet de lister les mots-clés et la fréquence d’apparition de chacun de ces mots dans un texte.

Source : Exemple 15.12. Analyse de fréquence d’apparition des mots http://abs.traduc.org/abs-5.3-fr/ch15s04.html

On prend par exemple ce texte : valls_special_1.txt qui contient.
./wf.sh valls_special_1.txt
22 république
22 mais
21 aux
20 ne
19 notre
17 tous
16 président
15 français
14 trois
14 se

2. Calcul des pondérations
Nous voilà bien avec notre liste de mots-clés mais ensuite…
Bien sur l’objectif est d’utiliser le script existant de Jason Davies pour générer notre nuage de mots en dataviz.
Toutefois, l’exemple donné par Jason Davies dans Github ne donne pas de coefficient de pondération pour chaque mot. En cherchant un peu, on peut trouver facilement la ressource qui nous fait défaut.

Un développeur de Google du nom de Sahand Saba a la solution. Il a réfléchi à la question de pondération sur les oeuvres de scientifiques. En conséquence, il nous faut constituer une liste de mots avec des pondérations de la forme ci-dessous, comme sur les exemples de Sahand Saba.

	var words = {"c’est":0.88200706,"france":0.64680517,"république":0.43120345,"président":0.31360251,"français":0.29400235,"qu’il":0.25480204,"devons":0.25480204,"ministre":0.23520188,"messieurs":0.23520188,"terroristes":0.21560172,"services":0.21560172,"encore":0.21560172,"nationale":0.19600157,"monsieur":0.19600157,"message":0.19600157,"laïcité":0.19600157.... /* etc */ "absence":0.01960016,"aborder":0.01960016};

Du même on va en profiter pour changer la police de caractères de Open Sans à Impact

	//fontFamily = "Open Sans"; // BEURK
	fontFamily = "Impact"; // YAMMY
  1. http://sahandsaba.com/visualizing-philosophers-and-scientists-by-the-words-they-used-with-d3js-and-python.html
  2. https://github.com/jasondavies/d3-cloud

3. A l’aide d’excel
Avec excel, on va calculer les pondération de chaque mot, puis on va concatener ces données pour générer du code PHP afin de créer directement le tableau associatif qui sera injecté pour créer notre dataviz.

Excel – Calcul des pondérations
D3, Data Visualization - Créer un nuage de mots en Data Visualisation sur la base d'un texte

Excel – Concaténation
D3, Data Visualization - Créer un nuage de mots en Data Visualisation sur la base d'un texte

4. Petite nettoyage sémantique
Bien sûr, on va un peu nettoyer le fichier des mots sans intérêt. La règle que l’on a posé est la suivante : tous les mots qui dépassent en longueur le mot france* seront enlevés. On va donc pouvoir enlever les expressions usuelles notamment les articles définis ou indéfinis qui ne présentent aucun intérêt : les, de, la, et, à….

* Pour information, la longueur du mot de france est de 6.

/* DATA : generated via excel */
$words = array
   (
array("c’est",0.4663212435),
array("france",0.3419689119),
array("république",0.2279792746),
array("président",0.1658031088),
/* the full list is here */
array("aborder",0.0103626943)
  	);
 
/* OUTPUT */
/* 
"c’est":0.4663212435,"france":0.3419689119,"république":0.2279792746,"président":0.1658031088,...,"aborder":0.0103626943
*/
 
for ($row = 0; $row < count($words); $row++) {
	$word = trim($words[$row][1]);
	$stat = trim($words[$row][0]);		
	$word_length = strlen(trim($words[$row][0])); // length
 
	/* Show me a word greater than France */
	/* The result will be injected in the D3 js script */
	if ($word_length >= 6) {
			echo ('"'.trim($words[$row][0]).'":'); // word
		    echo (''.(($words[$row][1])).','); // stat
	} else {
 
	        // The word is smaller or equal to 6, not meaningful
	}
 
}// EOL

5. Les nuages de mots
Voilà le résultat des éléments de langage de ces deux discours de Manuel Valls. Le code source de chacune de ses images est disponible ci-dessous.

Discours 1 : Discours de Manuel Valls à l’Assemblée nationale en hommage aux victimes des attentats
D3, Data Visualization - Créer un nuage de mots en Data Visualisation sur la base d'un texte

Discours 2 : Discours du Premier ministre à Beauvais (Oise) sur la sécurité
D3, Data Visualization - Créer un nuage de mots en Data Visualisation sur la base d'un texte

Sans être journaliste, cette image peut étayer une analyse sur les éléments de langage d’un homme politique par exemple. D’ailleurs, un des articles cités plus bas reprend ce type d’illustration. A l’oeuvre dans ces images, l’illustration du volontarisme affirmée et assumée de Manuel Valls. Pour souligner d’ailleurs, cette posture quasi guerrière, nous avons choisi pour la police Impact bien plus percutante 😉

Ultime conclusion, D3 est aussi très fortiche sur dataviz sur les cartes. Ce sera sans doute l’objet d’un article.

6. Quelques ouvrages sur D3 notamment


Deux ouvrages bien faits pour apprendre à maitriser la bibliothèque D3.

Interactive Data Visualization for the Web

Interactive Data Visualization for the Web

Une excellent entrée en matière, très pédagogique sur la Data Visualisation avec la bibliothèque Javascript D3. A proprement parlé, ce n'est pas un livre de programmation et c'est tant mieux car le sujet ne s'y prête pas. Bien que l'auteur, Scott Murray, fasse un rapide et didactique rappel sur les principes de Javascript, les choses sérieuses commencent au chapitre 5. Pour ceux d'entre vous qui cherchent à donner du sens à du code, pas seulement d'un point de vue fonctionnel, la Data Visualisation est un sujet qu'il faut connaitre car c'est une activité ludique et hybride entre l'information, le code et le design.

Genre(s) : , , , , , , ,
Auteur(s) :
Edition(s) :
JavaScript and jQuery for Data Analysis and Visualization

JavaScript and jQuery for Data Analysis and Visualization

Un livre plus poussé pour aller au de-là des seuls data-visualisations prêt à l'emploi que l'on peut trouver sur le web. Ce livre plus orienté développement, explore notamment Raphaël, une bibliothèque JavaScript très avancée pour géré les images vectorielles sur le web. Bien sûr, on y retrouve une introduction et des cas pratiques de notre incontournable bibliothèque JavaScript D3 mais aussi des essais avec IgniteUI pour construire de véritable tableau de bord. Plus sérieux encore, un chapitre consacré à l'API U.S. Census, service qui distribue de nombreuses données agrégées sur les USA via sont API et de ce fait grand pourvoyeuse de data visualizations.

Genre(s) : , , , , , , , , ,
Auteur(s) : , , ,
Edition(s) :

7. Les source du nuage de mots

Discours 1 : Discours de Manuel Valls à l’Assemblée nationale en hommage aux victimes des attentats (discours_1_hommage.html)

 
	<!doctype html>
	<meta charset="utf-8">
 
	<head>
	</head>
 
	<body>
	    <script src="../lib/jquery/jquery-1.11.1.min.js"></script>
		<script src="../lib/d3/d3.js"></script>
		<script src="../d3.layout.cloud.js"></script>
 
	    <div style="padding: 5px;" id="word-cloud"></div>
 
	    <script>
			 var words = {"c&rsquo;est":0.88200706,"france":0.64680517,"r&eacute;publique":0.43120345,"pr&eacute;sident":0.31360251,"fran&ccedil;ais":0.29400235,"qu&rsquo;il":0.25480204,"devons":0.25480204,"ministre":0.23520188,"messieurs":0.23520188,"terroristes":0.21560172,"services":0.21560172,"encore":0.21560172,"nationale":0.19600157,"monsieur":0.19600157,"message":0.19600157,"la&iuml;cit&eacute;":0.19600157,"jamais":0.19600157,"terrorisme":0.17640141,"r&eacute;ponses":0.17640141,"renseignement":0.17640141,"n&rsquo;est":0.17640141,"mesdames":0.17640141,"d&eacute;j&agrave;":0.17640141,"comment":0.17640141,"valeurs":0.15680125,"l&rsquo;on":0.15680125,"j&rsquo;ai":0.15680125,"l&rsquo;int&eacute;rieur":0.1372011,"libert&eacute;":0.1372011,"apr&egrave;s":0.1372011,"accepter":0.1372011,"toujours":0.11760094,"radicalisation":0.11760094,"prendre":0.11760094,"moyens":0.11760094,"l&rsquo;&eacute;cole":0.11760094,"l&rsquo;islam":0.11760094,"groupes":0.11760094,"gouvernement":0.11760094,"forces":0.11760094,"depuis":0.11760094,"&eacute;galement":0.09800078,"toutes":0.09800078,"sommes":0.09800078,"quelques":0.09800078,"quartiers":0.09800078,"protection":0.09800078,"policiers":0.09800078,"personnes":0.09800078,"parlement":0.09800078,"ministres":0.09800078,"madame":0.09800078,"l&rsquo;etat":0.09800078,"l&rsquo;esprit":0.09800078,"l&rsquo;assembl&eacute;e":0.09800078,"janvier":0.09800078,"grande":0.09800078,"d&rsquo;une":0.09800078,"d&eacute;put&eacute;s":0.09800078,"d&eacute;mocratie":0.09800078,"d&eacute;bat":0.09800078,"doivent":0.09800078,"devant":0.09800078,"&eacute;tait":0.07840063,"travaux":0.07840063,"travail":0.07840063,"soci&eacute;t&eacute;":0.07840063,"rappel&eacute;":0.07840063,"propositions":0.07840063,"possible":0.07840063,"peut-on":0.07840063,"peuple":0.07840063,"passer":0.07840063,"partout":0.07840063,"nouveau":0.07840063,"nombreux":0.07840063,"l&rsquo;ensemble":0.07840063,"l&rsquo;avez":0.07840063,"l&rsquo;antis&eacute;mitisme":0.07840063,"justice":0.07840063,"hauteur":0.07840063,"fili&egrave;res":0.07840063,"familles":0.07840063,"d&rsquo;&ecirc;tre":0.07840063,"d&rsquo;ailleurs":0.07840063,"d&eacute;termination":0.07840063,"djihadistes":0.07840063,"demand&eacute;":0.07840063,"c&ocirc;t&eacute;s":0.07840063,"couleurs":0.07840063,"contre":0.07840063,"compatriotes":0.07840063,"chacun":0.07840063,"autres":0.07840063,"apporter":0.07840063,"&eacute;v&eacute;nements":0.05880047,"victimes":0.05880047,"unit&eacute;":0.05880047,"tribune":0.05880047,"tol&eacute;rance":0.05880047,"s&rsquo;est":0.05880047,"s&rsquo;attaque":0.05880047,"s&eacute;curit&eacute;":0.05880047,"surveillance":0.05880047,"souvent":0.05880047,"situation":0.05880047,"semaine":0.05880047,"saluer":0.05880047,"r&eacute;seaux":0.05880047,"r&eacute;ponse":0.05880047,"r&eacute;pondre":0.05880047,"riposte":0.05880047,"rester":0.05880047,"religieux":0.05880047,"qu&rsquo;ils":0.05880047,"questions":0.05880047,"question":0.05880047,"quelle":0.05880047,"pr&eacute;sidents":0.05880047,"pr&eacute;sence":0.05880047,"principes":0.05880047,"premier":0.05880047,"permis":0.05880047,"particuli&egrave;rement":0.05880047,"parcours":0.05880047,"n&eacute;cessaires":0.05880047,"n&eacute;cessaire":0.05880047,"nouvelle":0.05880047,"notamment":0.05880047,"niveau":0.05880047,"national":0.05880047,"musulmans":0.05880047,"moment":0.05880047,"mesures":0.05880047,"menace":0.05880047,"membres":0.05880047,"marquent":0.05880047,"magnifique":0.05880047,"l&rsquo;&eacute;ducation":0.05880047,"l&rsquo;avons":0.05880047,"l&rsquo;ann&eacute;e":0.05880047,"l&rsquo;ai":0.05880047,"l&rsquo;action":0.05880047,"l&rsquo;acte":0.05880047,"instant":0.05880047,"individus":0.05880047,"implacable":0.05880047,"immense":0.05880047,"fondamentale":0.05880047,"fid&egrave;le":0.05880047,"fermet&eacute;":0.05880047,"effort":0.05880047,"d&rsquo;autres":0.05880047,"d&eacute;cid&eacute;":0.05880047,"direction":0.05880047,"dimanche":0.05880047,"diff&eacute;rence":0.05880047,"diagnostic":0.05880047,"dernier":0.05880047,"contr&ocirc;le":0.05880047,"combat":0.05880047,"chaque":0.05880047,"antiterroriste":0.05880047,"antis&eacute;mitisme":0.05880047,"allons":0.05880047,"&eacute;trangers":0.03920031,"&eacute;tiez":0.03920031,"v&eacute;rit&eacute;":0.03920031,"volont&eacute;":0.03920031,"vincennes":0.03920031,"utilis&eacute;s":0.03920031,"urgences":0.03920031,"universelle":0.03920031,"universel":0.03920031,"trafics":0.03920031,"toulouse":0.03920031,"th&eacute;&acirc;tres":0.03920031,"terroriste":0.03920031,"territoire":0.03920031,"techniques":0.03920031,"s&eacute;nat":0.03920031,"surtout":0.03920031,"sujets":0.03920031,"soutiens":0.03920031,"solidarit&eacute;":0.03920031,"soldats":0.03920031,"si&egrave;cles":0.03920031,"seulement":0.03920031,"semaines":0.03920031,"sceaux":0.03920031,"savons":0.03920031,"savoir":0.03920031,"samedi":0.03920031,"responsables":0.03920031,"respect":0.03920031,"reprises":0.03920031,"renforts":0.03920031,"renforc&eacute;":0.03920031,"renforcer":0.03920031,"renforcement":0.03920031,"religion":0.03920031,"rappeler":0.03920031,"rapidement":0.03920031,"raison":0.03920031,"racisme":0.03920031,"qu&rsquo;un":0.03920031,"qu&rsquo;elle":0.03920031,"p&eacute;nitentiaire":0.03920031,"puisse":0.03920031,"pr&ocirc;ne":0.03920031,"pr&eacute;sente":0.03920031,"pr&eacute;fets":0.03920031,"pr&eacute;fecture":0.03920031,"proches":0.03920031,"probl&egrave;me":0.03920031,"prison":0.03920031,"preuve":0.03920031,"pouvons":0.03920031,"police":0.03920031,"plusieurs":0.03920031,"plateforme":0.03920031,"ph&eacute;nom&egrave;nes":0.03920031,"ph&eacute;nom&egrave;ne":0.03920031,"personnels":0.03920031,"passage":0.03920031,"parquet":0.03920031,"parlementaires":0.03920031,"origines":0.03920031,"n&rsquo;en":0.03920031,"normal":0.03920031,"nation":0.03920031,"musulman":0.03920031,"mobilis&eacute;s":0.03920031,"mission":0.03920031,"militaires":0.03920031,"mettre":0.03920031,"menons":0.03920031,"menaces":0.03920031,"meilleure":0.03920031,"mati&egrave;re":0.03920031,"l&rsquo;&eacute;preuve":0.03920031,"l&rsquo;&eacute;galit&eacute;":0.03920031,"l&rsquo;une":0.03920031,"l&rsquo;oublions":0.03920031,"l&rsquo;ordre":0.03920031,"l&rsquo;occasion":0.03920031,"l&rsquo;heure":0.03920031,"l&rsquo;europe":0.03920031,"l&rsquo;education":0.03920031,"l&rsquo;autre":0.03920031,"l&rsquo;administration":0.03920031,"j&eacute;rusalem":0.03920031,"jusqu&rsquo;au":0.03920031,"juridiques":0.03920031,"journalistes":0.03920031,"jeunesse":0.03920031,"int&eacute;r&ecirc;ts":0.03920031,"int&eacute;rieure":0.03920031,"int&eacute;rieur":0.03920031,"international":0.03920031,"importe":0.03920031,"h&eacute;ros":0.03920031,"h&eacute;micycle":0.03920031,"humains":0.03920031,"hommes":0.03920031,"guerre":0.03920031,"groupe":0.03920031,"graves":0.03920031,"gouvernements":0.03920031,"gendarmes":0.03920031,"fraternit&eacute;":0.03920031,"fraternelle":0.03920031,"fi&egrave;rement":0.03920031,"fiert&eacute;":0.03920031,"femmes":0.03920031,"ext&eacute;rieurs":0.03920031,"europ&eacute;ens":0.03920031,"europ&eacute;en":0.03920031,"entier":0.03920031,"ensemble":0.03920031,"d&rsquo;unit&eacute;":0.03920031,"d&rsquo;op&eacute;ration":0.03920031,"d&rsquo;etat":0.03920031,"d&rsquo;entre":0.03920031,"d&rsquo;enqu&ecirc;te":0.03920031,"d&eacute;mocratique":0.03920031,"d&eacute;linquance":0.03920031,"d&eacute;fense":0.03920031,"d&eacute;cembre":0.03920031,"d&eacute;bats":0.03920031,"donner":0.03920031,"diversit&eacute;":0.03920031,"dispositif":0.03920031,"dignit&eacute;":0.03920031,"derni&egrave;re":0.03920031,"derniers":0.03920031,"demande":0.03920031,"davantage":0.03920031,"croire":0.03920031,"crimes":0.03920031,"conscience":0.03920031,"concitoyens":0.03920031,"comprendre":0.03920031,"complexe":0.03920031,"communaut&eacute;":0.03920031,"commun":0.03920031,"commission":0.03920031,"citoyen":0.03920031,"certains":0.03920031,"celles":0.03920031,"cazeneuve":0.03920031,"capables":0.03920031,"bernard":0.03920031,"autour":0.03920031,"apportera":0.03920031,"adopt&eacute;":0.03920031,"abattre":0.03920031,"&oelig;uvre":0.01960016,"&eacute;voqu&eacute;":0.01960016,"&eacute;videmment":0.01960016,"&eacute;troitement":0.01960016,"&eacute;troit":0.01960016,"&eacute;trang&egrave;res":0.01960016,"&eacute;tablissements":0.01960016,"&eacute;prouvante":0.01960016,"&eacute;preuves":0.01960016,"&eacute;pineuse":0.01960016,"&eacute;manant":0.01960016,"&eacute;lev&eacute;s":0.01960016,"&eacute;lev&eacute;":0.01960016,"&eacute;glise":0.01960016,"&eacute;crit":0.01960016,"&eacute;conomique":0.01960016,"&eacute;coles":0.01960016,"&eacute;clat&eacute;":0.01960016,"&eacute;checs":0.01960016,"&eacute;changes":0.01960016,"y&eacute;men":0.01960016,"voulez":0.01960016,"vot&eacute;es":0.01960016,"votant":0.01960016,"vitalit&eacute;":0.01960016,"visera":0.01960016,"vigilants":0.01960016,"vigilance":0.01960016,"viennent":0.01960016,"victoire":0.01960016,"venons":0.01960016,"vallaud-belkacem":0.01960016,"urvoas-verchere":0.01960016,"urvoas":0.01960016,"urgence":0.01960016,"urbains":0.01960016,"unit&eacute;s":0.01960016,"t&eacute;nue":0.01960016,"t&acirc;che":0.01960016,"tunisien":0.01960016,"tueries":0.01960016,"trouv&eacute;":0.01960016,"trouver":0.01960016,"tromp&eacute;s":0.01960016,"tristesse":0.01960016,"trente":0.01960016,"traverser":0.01960016,"travers":0.01960016,"travailler":0.01960016,"travaillent":0.01960016,"travaille":0.01960016,"travaillant":0.01960016,"traquant":0.01960016,"transformation":0.01960016,"traiter":0.01960016,"trag&eacute;die":0.01960016,"tragiques":0.01960016,"touch&eacute;e":0.01960016,"touch&eacute;":0.01960016,"totale":0.01960016,"tomb&eacute;s":0.01960016,"tombait":0.01960016,"tombaient":0.01960016,"tol&eacute;rant":0.01960016,"tiendra":0.01960016,"textes":0.01960016,"territoriales":0.01960016,"territorial":0.01960016,"terrible":0.01960016,"terres":0.01960016,"termes":0.01960016,"tentent":0.01960016,"tentation":0.01960016,"telles":0.01960016,"s&rsquo;organisent":0.01960016,"s&rsquo;interroger":0.01960016,"s&rsquo;interroge":0.01960016,"s&rsquo;imposent":0.01960016,"s&rsquo;imposaient":0.01960016,"s&rsquo;ils":0.01960016,"s&rsquo;il":0.01960016,"s&rsquo;attaquer":0.01960016,"s&rsquo;appuyant":0.01960016,"s&rsquo;apprend":0.01960016,"s&eacute;v&eacute;rit&eacute;":0.01960016,"s&eacute;r&eacute;nit&eacute;":0.01960016,"s&eacute;rieux":0.01960016,"s&eacute;gol&egrave;ne":0.01960016,"syst&egrave;me":0.01960016,"synagogues":0.01960016,"synagogue":0.01960016,"sympt&ocirc;me":0.01960016,"suspectes":0.01960016,"susceptibles":0.01960016,"suivre":0.01960016,"suffisamment":0.01960016,"strict":0.01960016,"strat&eacute;giques":0.01960016,"sp&eacute;cifiques":0.01960016,"spectacle":0.01960016,"souverains":0.01960016,"souvenant":0.01960016,"soutien":0.01960016,"soumettre":0.01960016,"soulignez":0.01960016,"soulev&eacute;":0.01960016,"sommes-nous":0.01960016,"somalie":0.01960016,"sollicit&eacute;e":0.01960016,"solennelle":0.01960016,"soldat":0.01960016,"soient":0.01960016,"sociaux":0.01960016,"sobri&eacute;t&eacute;":0.01960016,"singulier":0.01960016,"similaire":0.01960016,"significatif":0.01960016,"signes":0.01960016,"signalement":0.01960016,"shabbat":0.01960016,"seules":0.01960016,"serviteurs":0.01960016,"serviront":0.01960016,"service":0.01960016,"servent":0.01960016,"serait":0.01960016,"septembre":0.01960016,"sentons":0.01960016,"sentie":0.01960016,"sensibles":0.01960016,"savent":0.01960016,"sang&ndash;froid":0.01960016,"salles":0.01960016,"salari&eacute;s":0.01960016,"saisir":0.01960016,"r&eacute;veil":0.01960016,"r&eacute;union":0.01960016,"r&eacute;sultats":0.01960016,"r&eacute;signation":0.01960016,"r&eacute;publicains":0.01960016,"r&eacute;pond":0.01960016,"r&eacute;percuter":0.01960016,"r&eacute;insertion":0.01960016,"r&eacute;gner":0.01960016,"r&eacute;forme":0.01960016,"r&eacute;elle":0.01960016,"r&eacute;cidiviste":0.01960016,"r&eacute;cidive":0.01960016,"r&eacute;alit&eacute;":0.01960016,"r&eacute;agi":0.01960016,"r&egrave;glementaires":0.01960016,"riv&eacute;s":0.01960016,"risques":0.01960016,"risque":0.01960016,"revendiquons":0.01960016,"revendiquant":0.01960016,"retrouv&eacute;e":0.01960016,"ressenti":0.01960016,"responsabilit&eacute;":0.01960016,"respectant":0.01960016,"repr&eacute;sentation":0.01960016,"repr&eacute;sentait":0.01960016,"repr&eacute;sentaient":0.01960016,"reprendront":0.01960016,"renouveler":0.01960016,"renforce":0.01960016,"rendre":0.01960016,"rencontr&eacute;":0.01960016,"remontant":0.01960016,"remercier":0.01960016,"remercie":0.01960016,"remarquable":0.01960016,"rel&acirc;che":0.01960016,"religions":0.01960016,"relatives":0.01960016,"regardons":0.01960016,"recueillement":0.01960016,"recueillait":0.01960016,"recteurs":0.01960016,"recrutements":0.01960016,"reconnaissent":0.01960016,"recherch&eacute;s":0.01960016,"rebeller":0.01960016,"rassembl&eacute;":0.01960016,"rassemblements":0.01960016,"rapporteur":0.01960016,"rappelant":0.01960016,"radicalis&eacute;s":0.01960016,"radicalis&eacute;es":0.01960016,"radicalisme":0.01960016,"qu&rsquo;on":0.01960016,"qu&rsquo;est":0.01960016,"qu&rsquo;entre":0.01960016,"qu&rsquo;en":0.01960016,"qu&rsquo;assume":0.01960016,"quelqu&rsquo;un":0.01960016,"quelque":0.01960016,"quasiment":0.01960016,"p&eacute;ril":0.01960016,"p&eacute;nitentiaires":0.01960016,"p&eacute;dagogie":0.01960016,"puissent":0.01960016,"puisqu&rsquo;on":0.01960016,"puisque":0.01960016,"publiques":0.01960016,"publication":0.01960016,"public":0.01960016,"pr&eacute;vu":0.01960016,"pr&eacute;ventive":0.01960016,"pr&eacute;sid&eacute;e":0.01960016,"pr&eacute;sidente":0.01960016,"pr&eacute;sents":0.01960016,"pr&eacute;sentation":0.01960016,"pr&eacute;sent":0.01960016,"pr&eacute;fet":0.01960016,"pr&eacute;dicateurs":0.01960016,"pr&eacute;c&eacute;dent":0.01960016,"pr&eacute;c&egrave;dent":0.01960016,"pr&eacute;cis&eacute;ment":0.01960016,"pr&eacute;cipitation":0.01960016,"prot&eacute;iforme":0.01960016,"prot&eacute;g&eacute;":0.01960016,"prot&eacute;ger":0.01960016,"prolong&eacute;e":0.01960016,"prolongement":0.01960016,"projet":0.01960016,"prohibant":0.01960016,"progressivement":0.01960016,"progression":0.01960016,"programm&eacute;e":0.01960016,"profonde":0.01960016,"profond":0.01960016,"professionnalisme":0.01960016,"professionnalisation":0.01960016,"profaner":0.01960016,"produits":0.01960016,"prochain":0.01960016,"processus":0.01960016,"prisons":0.01960016,"priorit&eacute;":0.01960016,"principe":0.01960016,"presse":0.01960016,"premiers":0.01960016,"pratique":0.01960016,"pouvoir":0.01960016,"pourvus":0.01960016,"poursuivre":0.01960016,"pourraient":0.01960016,"potentiels":0.01960016,"possibles":0.01960016,"possibilit&eacute;":0.01960016,"posent":0.01960016,"posant":0.01960016,"pompili":0.01960016,"politiques":0.01960016,"politique":0.01960016,"polici&egrave;re":0.01960016,"points":0.01960016,"pleinement":0.01960016,"pinacle":0.01960016,"peut-&ecirc;tre":0.01960016,"peuples":0.01960016,"perp&eacute;tr&eacute;es":0.01960016,"permettrez":0.01960016,"permettre":0.01960016,"permettent":0.01960016,"permettant":0.01960016,"permanente":0.01960016,"permanence":0.01960016,"perdre":0.01960016,"patriotique":0.01960016,"patrie":0.01960016,"patrick":0.01960016,"parvenir":0.01960016,"paroles":0.01960016,"paraboles":0.01960016,"palp&eacute;e":0.01960016,"oublie":0.01960016,"organis&eacute;e":0.01960016,"orateurs":0.01960016,"op&eacute;rationnelle":0.01960016,"offense":0.01960016,"occidentales":0.01960016,"obtiennent":0.01960016,"obs&egrave;ques":0.01960016,"obligera":0.01960016,"obligations":0.01960016,"objectif":0.01960016,"n&rsquo;ont":0.01960016,"n&rsquo;avaient":0.01960016,"n&eacute;gliger":0.01960016,"n&eacute;gationnisme":0.01960016,"n&eacute;cessit&eacute;":0.01960016,"nouvel":0.01960016,"nombreuses":0.01960016,"niveaux":0.01960016,"neutraliser":0.01960016,"nationaux":0.01960016,"nantes":0.01960016,"m&rsquo;indiquer":0.01960016,"m&rsquo;exprimerai":0.01960016,"m&rsquo;excusant":0.01960016,"m&rsquo;adresser":0.01960016,"m&eacute;lange":0.01960016,"musulmane":0.01960016,"municipale":0.01960016,"mouvant":0.01960016,"mosqu&eacute;es":0.01960016,"mosqu&eacute;e":0.01960016,"montr&eacute;":0.01960016,"montez":0.01960016,"montauban":0.01960016,"moments":0.01960016,"moindre":0.01960016,"mobilisation":0.01960016,"mis&egrave;re":0.01960016,"missions":0.01960016,"minist&egrave;re":0.01960016,"mineurs":0.01960016,"milquet":0.01960016,"milliers":0.01960016,"mienne":0.01960016,"mettent":0.01960016,"mesure":0.01960016,"mercredi":0.01960016,"men&eacute;e":0.01960016,"mennucci":0.01960016,"menac&eacute;s":0.01960016,"menac&eacute;":0.01960016,"menacer":0.01960016,"mat&eacute;riels":0.01960016,"massif":0.01960016,"martyre":0.01960016,"marseillaise":0.01960016,"march&eacute;":0.01960016,"marches":0.01960016,"mani&egrave;re":0.01960016,"manifest&eacute;":0.01960016,"malien":0.01960016,"malheureusement":0.01960016,"majorit&eacute;":0.01960016,"maintes":0.01960016,"l&rsquo;&eacute;valuation":0.01960016,"l&rsquo;&eacute;tat":0.01960016,"l&rsquo;&eacute;motion":0.01960016,"l&rsquo;&eacute;l&eacute;ment":0.01960016,"l&rsquo;&eacute;gard":0.01960016,"l&rsquo;un":0.01960016,"l&rsquo;op&eacute;ration":0.01960016,"l&rsquo;obscurantisme":0.01960016,"l&rsquo;objet":0.01960016,"l&rsquo;islamisme":0.01960016,"l&rsquo;int&eacute;r&ecirc;t":0.01960016,"l&rsquo;intol&eacute;rance":0.01960016,"l&rsquo;intimit&eacute;":0.01960016,"l&rsquo;instar":0.01960016,"l&rsquo;initiative":0.01960016,"l&rsquo;indignation":0.01960016,"l&rsquo;id&eacute;e":0.01960016,"l&rsquo;homme":0.01960016,"l&rsquo;hommage":0.01960016,"l&rsquo;histoire":0.01960016,"l&rsquo;exp&eacute;rience":0.01960016,"l&rsquo;exigence":0.01960016,"l&rsquo;examen":0.01960016,"l&rsquo;esp&egrave;re":0.01960016,"l&rsquo;espace":0.01960016,"l&rsquo;engagement":0.01960016,"l&rsquo;encontre":0.01960016,"l&rsquo;emporterait":0.01960016,"l&rsquo;embrigadement":0.01960016,"l&rsquo;autorit&eacute;":0.01960016,"l&rsquo;attente":0.01960016,"l&rsquo;attaque":0.01960016,"l&rsquo;approche":0.01960016,"l&rsquo;appliquer":0.01960016,"l&rsquo;apologie":0.01960016,"l&rsquo;ancien":0.01960016,"l&rsquo;afrique":0.01960016,"l&rsquo;acquisition":0.01960016,"l&rsquo;accepter":0.01960016,"l&rsquo;abn&eacute;gation":0.01960016,"l&eacute;gitime":0.01960016,"l&eacute;gislatives":0.01960016,"l&eacute;gislatifs":0.01960016,"l&eacute;gal":0.01960016,"lyc&eacute;es":0.01960016,"lumi&egrave;res":0.01960016,"lumi&egrave;re":0.01960016,"lucidit&eacute;":0.01960016,"lucide":0.01960016,"longtemps":0.01960016,"libert&eacute;s":0.01960016,"le&ccedil;ons":0.01960016,"le&ccedil;on":0.01960016,"leroux":0.01960016,"lequel":0.01960016,"latron":0.01960016,"larmes":0.01960016,"laquelle":0.01960016,"lanzmann":0.01960016,"lancerons":0.01960016,"laiss&eacute;":0.01960016,"laissons":0.01960016,"l&#x27;organisation":0.01960016,"l&#x27;int&eacute;rieur":0.01960016,"l&#x27;image":0.01960016,"kilom&egrave;tres":0.01960016,"ke&Iuml;ta":0.01960016,"j&rsquo;&eacute;tais":0.01960016,"j&rsquo;avais":0.01960016,"j&rsquo;appelle":0.01960016,"justes":0.01960016,"juridique":0.01960016,"juives":0.01960016,"judiciaire":0.01960016,"jo&euml;lle":0.01960016,"jou&eacute;-l&egrave;s-tours":0.01960016,"jeunes":0.01960016,"jean-jacques":0.01960016,"irako-syriennes":0.01960016,"int&eacute;rieurs":0.01960016,"int&eacute;gr&eacute;":0.01960016,"int&eacute;gral":0.01960016,"intransigeance":0.01960016,"intol&eacute;rables":0.01960016,"interviennent":0.01960016,"interrogeant":0.01960016,"interpr&egrave;tes":0.01960016,"internet":0.01960016,"interdisant":0.01960016,"intellectuels":0.01960016,"insupportable":0.01960016,"insultes":0.01960016,"insuffisances":0.01960016,"inqui&eacute;tude":0.01960016,"inquiets":0.01960016,"initiative":0.01960016,"informaticiens":0.01960016,"individuelles":0.01960016,"indispensables":0.01960016,"indispensable":0.01960016,"indign&eacute;s":0.01960016,"inconsolable":0.01960016,"incarne":0.01960016,"inadmissibles":0.01960016,"inacceptable":0.01960016,"imp&eacute;rieux":0.01960016,"important":0.01960016,"implacablement":0.01960016,"immens&eacute;ment":0.01960016,"ignobles":0.01960016,"ici-m&ecirc;me":0.01960016,"ibrahim":0.01960016,"h&eacute;sitations":0.01960016,"humoriste":0.01960016,"historique":0.01960016,"histoire":0.01960016,"heures":0.01960016,"halimi":0.01960016,"habit&eacute;":0.01960016,"g&eacute;n&eacute;reuse":0.01960016,"g&eacute;n&eacute;rale":0.01960016,"g&eacute;n&eacute;ral":0.01960016,"gravit&eacute;":0.01960016,"gratitude":0.01960016,"grands":0.01960016,"grandeur":0.01960016,"globale":0.01960016,"ghettos":0.01960016,"gestes":0.01960016,"garder":0.01960016,"gagner":0.01960016,"fronti&egrave;re":0.01960016,"fresnes":0.01960016,"frapp&eacute;":0.01960016,"frappant":0.01960016,"fran&ccedil;aise":0.01960016,"fractur&eacute;":0.01960016,"fourni":0.01960016,"fortement":0.01960016,"formul&eacute;es":0.01960016,"formule":0.01960016,"formes":0.01960016,"forment":0.01960016,"formation":0.01960016,"fondamentales":0.01960016,"fois-ci":0.01960016,"fichier":0.01960016,"feront":0.01960016,"fa&ccedil;on":0.01960016,"farouche":0.01960016,"familiale":0.01960016,"faisant":0.01960016,"faible":0.01960016,"facilit&eacute;":0.01960016,"exprimerons":0.01960016,"existent":0.01960016,"existe":0.01960016,"exigence":0.01960016,"exceptionnelles":0.01960016,"exceptionnelle":0.01960016,"examin&eacute;s":0.01960016,"europe":0.01960016,"essentiels":0.01960016,"essence":0.01960016,"esprits":0.01960016,"envoy&eacute;":0.01960016,"entretenir":0.01960016,"entourages":0.01960016,"entendre":0.01960016,"enseigner":0.01960016,"enseignements":0.01960016,"enseignant":0.01960016,"enrichi":0.01960016,"ennemi":0.01960016,"enjeux":0.01960016,"engag&eacute;s":0.01960016,"engagement":0.01960016,"enfants":0.01960016,"enceinte":0.01960016,"emport&eacute;es":0.01960016,"employons":0.01960016,"emplois":0.01960016,"efforts":0.01960016,"d&rsquo;&eacute;viter":0.01960016,"d&rsquo;&eacute;ventuels":0.01960016,"d&rsquo;&eacute;tat":0.01960016,"d&rsquo;&eacute;tablissements":0.01960016,"d&rsquo;&eacute;motion":0.01960016,"d&rsquo;&eacute;mancipation":0.01960016,"d&rsquo;&eacute;l&eacute;gance":0.01960016,"d&rsquo;&eacute;lite":0.01960016,"d&rsquo;&eacute;couter":0.01960016,"d&rsquo;universel":0.01960016,"d&rsquo;un":0.01960016,"d&rsquo;origine":0.01960016,"d&rsquo;ordres":0.01960016,"d&rsquo;opinion":0.01960016,"d&rsquo;octobre":0.01960016,"d&rsquo;obs&egrave;ques":0.01960016,"d&rsquo;isra&euml;l":0.01960016,"d&rsquo;investigation":0.01960016,"d&rsquo;int&eacute;gration":0.01960016,"d&rsquo;intervention":0.01960016,"d&rsquo;internet":0.01960016,"d&rsquo;insolence":0.01960016,"d&rsquo;information":0.01960016,"d&rsquo;indiff&eacute;rence":0.01960016,"d&rsquo;imposer":0.01960016,"d&rsquo;importance":0.01960016,"d&rsquo;impertinence":0.01960016,"d&rsquo;ici":0.01960016,"d&rsquo;exigence":0.01960016,"d&rsquo;exception":0.01960016,"d&rsquo;examiner":0.01960016,"d&rsquo;esprit":0.01960016,"d&rsquo;engager":0.01960016,"d&rsquo;engagement":0.01960016,"d&rsquo;avril":0.01960016,"d&rsquo;armes":0.01960016,"d&rsquo;application":0.01960016,"d&rsquo;ang&eacute;lisme":0.01960016,"d&rsquo;activit&eacute;s":0.01960016,"d&rsquo;action":0.01960016,"d&eacute;veloppent":0.01960016,"d&eacute;testations":0.01960016,"d&eacute;tenus":0.01960016,"d&eacute;sormais":0.01960016,"d&eacute;sint&eacute;gration":0.01960016,"d&eacute;rouler":0.01960016,"d&eacute;rogeraient":0.01960016,"d&eacute;poser":0.01960016,"d&eacute;placements":0.01960016,"d&eacute;passe":0.01960016,"d&eacute;parts":0.01960016,"d&eacute;monstration":0.01960016,"d&eacute;mocraties":0.01960016,"d&eacute;marches":0.01960016,"d&eacute;lits":0.01960016,"d&eacute;linquants":0.01960016,"d&eacute;licate":0.01960016,"d&eacute;crit":0.01960016,"d&eacute;crets":0.01960016,"d&eacute;clarer":0.01960016,"d&eacute;cisions":0.01960016,"d&eacute;bord&eacute;s":0.01960016,"drapeau":0.01960016,"dramatiquement":0.01960016,"doutez":0.01960016,"double":0.01960016,"donnons":0.01960016,"donneurs":0.01960016,"domine":0.01960016,"domicile":0.01960016,"djihadisme":0.01960016,"djihad":0.01960016,"dizaines":0.01960016,"diversifier":0.01960016,"dissimule":0.01960016,"dispositions":0.01960016,"disposition":0.01960016,"dispositifs":0.01960016,"disposer":0.01960016,"dispens&eacute;e":0.01960016,"disons-le":0.01960016,"disent":0.01960016,"discr&egrave;te":0.01960016,"disais":0.01960016,"diff&eacute;rentes":0.01960016,"difficiles":0.01960016,"difficile":0.01960016,"devront":0.01960016,"deuxi&egrave;me":0.01960016,"derni&egrave;res":0.01960016,"demeurent":0.01960016,"demandons":0.01960016,"debout":0.01960016,"damien":0.01960016,"d&#x27;&ecirc;tre":0.01960016,"d&#x27;&eacute;tudier":0.01960016,"d&#x27;engagement":0.01960016,"d&#x27;autres":0.01960016,"c&rsquo;&eacute;tait":0.01960016,"c&rsquo;est-&agrave;-dire":0.01960016,"c&eacute;r&eacute;monie":0.01960016,"c&eacute;der":0.01960016,"cyberattaques":0.01960016,"curieuse":0.01960016,"culture":0.01960016,"cultes":0.01960016,"cr&eacute;&eacute;s":0.01960016,"cr&eacute;&eacute;":0.01960016,"cr&eacute;teil":0.01960016,"cr&eacute;er":0.01960016,"cr&eacute;ation":0.01960016,"cruelle":0.01960016,"croyances":0.01960016,"croyance":0.01960016,"criminelles":0.01960016,"co&ucirc;teux":0.01960016,"co&iuml;ncidence":0.01960016,"coop&eacute;ration":0.01960016,"conviction":0.01960016,"contr&ocirc;ler":0.01960016,"continuons":0.01960016,"contact":0.01960016,"cons&eacute;cutifs":0.01960016,"consultation":0.01960016,"consid&eacute;r&eacute;s":0.01960016,"conservatisme":0.01960016,"conqu&ecirc;te":0.01960016,"connues":0.01960016,"connue":0.01960016,"conna&icirc;tre":0.01960016,"connaitre":0.01960016,"connaissent":0.01960016,"connaissance":0.01960016,"cong&eacute;":0.01960016,"confr&egrave;res":0.01960016,"confront&eacute;":0.01960016,"confrontations":0.01960016,"conflit":0.01960016,"confirm&eacute;":0.01960016,"confessionnelles":0.01960016,"confession":0.01960016,"conditions":0.01960016,"condamn&eacute;s":0.01960016,"condamn&eacute;es":0.01960016,"concordance":0.01960016,"concern&eacute;":0.01960016,"concerner":0.01960016,"concentr&eacute;":0.01960016,"comp&eacute;tences":0.01960016,"compte":0.01960016,"comprends":0.01960016,"complices":0.01960016,"compatibles":0.01960016,"compassion":0.01960016,"combattre":0.01960016,"coll&egrave;ges":0.01960016,"collectivit&eacute;s":0.01960016,"collectivement":0.01960016,"coh&eacute;rent":0.01960016,"claude":0.01960016,"clamer":0.01960016,"clairement":0.01960016,"claire":0.01960016,"citoyens":0.01960016,"ciotti":0.01960016,"cimeti&egrave;re":0.01960016,"choses":0.01960016,"choisir":0.01960016,"chevill&eacute;e":0.01960016,"chercheurs":0.01960016,"charlie":0.01960016,"charge":0.01960016,"chang&eacute;":0.01960016,"chacune":0.01960016,"certes":0.01960016,"cercueils":0.01960016,"centrale":0.01960016,"cat&eacute;gorique":0.01960016,"capitales":0.01960016,"capitale":0.01960016,"calendrier":0.01960016,"cacher":0.01960016,"budg&eacute;taires":0.01960016,"budgets":0.01960016,"briser":0.01960016,"bravoure":0.01960016,"boubacar":0.01960016,"bond&eacute;es":0.01960016,"boiteux":0.01960016,"bless&eacute;s":0.01960016,"blasph&egrave;me":0.01960016,"bienveillant":0.01960016,"besoins":0.01960016,"beauvau":0.01960016,"beaucoup":0.01960016,"battre":0.01960016,"battons":0.01960016,"bataille":0.01960016,"bastions":0.01960016,"basculer":0.01960016,"basculent":0.01960016,"barkhane":0.01960016,"barbarie":0.01960016,"baisser":0.01960016,"a&eacute;riens":0.01960016,"automne":0.01960016,"aurons":0.01960016,"aupr&egrave;s":0.01960016,"aum&ocirc;niers":0.01960016,"aujourd&rsquo;hui":0.01960016,"augment&eacute;":0.01960016,"auditionn&eacute;s":0.01960016,"au-del&agrave;":0.01960016,"attentif":0.01960016,"attendue":0.01960016,"attaques":0.01960016,"attaquer":0.01960016,"attaque":0.01960016,"attachement":0.01960016,"assur&eacute;e":0.01960016,"assurent":0.01960016,"associ&eacute;es":0.01960016,"assembl&eacute;e":0.01960016,"assassin&eacute;s":0.01960016,"assassin&eacute;":0.01960016,"ardent":0.01960016,"arborons":0.01960016,"appuyer":0.01960016,"apport&eacute;":0.01960016,"apporte":0.01960016,"application":0.01960016,"antis&eacute;mites":0.01960016,"antimusulmans":0.01960016,"anti-terroriste":0.01960016,"anonymes":0.01960016,"anciens":0.01960016,"analystes":0.01960016,"am&eacute;lior&eacute;":0.01960016,"amplifier":0.01960016,"alli&eacute;s":0.01960016,"africains":0.01960016,"afghano-pakistanaise":0.01960016,"affront":0.01960016,"affect&eacute;s":0.01960016,"affecterons":0.01960016,"affaires":0.01960016,"adress&eacute;":0.01960016,"adopter":0.01960016,"administrative":0.01960016,"adapt&eacute;es":0.01960016,"actions":0.01960016,"acheter":0.01960016,"acc&egrave;s":0.01960016,"accueillir":0.01960016,"accro&icirc;tre":0.01960016,"accomplir":0.01960016,"accomplie":0.01960016,"accompagner":0.01960016,"acceptent":0.01960016,"acceptable":0.01960016,"absence":0.01960016,"aborder":0.01960016,};
 
 
	        function drawWordCloud(rescale)
	        {
	            width = 1200;
	            height = 1200;
				/* Impact is more visual for our purpose */
	            fontFamily = "Impact";
	            var fill = d3.scale.category20();
	            d3.layout.cloud().size([width, height])
	                .words(Object.keys(words).map(function(d)
	                {
	                    return {
	                        text: d,
	                        size: 7 + words[d] * rescale
	                    };
	                }))
	                .padding(5)
	                .rotate(function()
	                {
	                    // return ~~(Math.random() * 2) * 90;
	                    return 0;
	                })
	                .font(fontFamily)
	                .fontSize(function(d)
	                {
	                    return d.size;
	                })
	                .on("end", draw)
	                .start();
 
	            function draw(words)
	            {
	                d3.select("#word-cloud").append("svg")
	                    .attr("width", width)
	                    .attr("height", height)
	                    .append("g")
	                    .attr("transform", "translate(" + width / 2 + ", " + height / 2 + ")")
	                    .selectAll("text")
	                    .data(words)
	                    .enter().append("text")
	                    .style("font-size", function(d)
	                    {
	                        return d.size + "px";
	                    })
	                    .style("font-family", fontFamily)
	                    .style("fill", function(d, i)
	                    {
	                        return fill(i);
	                    })
	                    .attr("text-anchor", "middle")
	                    .attr("transform", function(d)
	                    {
	                        return "translate(" + [d.x, d.y] + ")rotate(" + d.rotate + ")";
	                    })
	                    .text(function(d)
	                    {
	                        return d.text;
	                    });
	            }
	        }
 
	        drawWordCloud(250);
	    </script>
	</body>
 
	</html>

Discours 2 : Discours du Premier ministre à Beauvais (Oise) sur la sécurité

 
	<!doctype html>
	<meta charset="utf-8">
 
	<head>
	</head>
 
	<body>
	    <script src="../lib/jquery/jquery-1.11.1.min.js"></script>
		<script src="../lib/d3/d3.js"></script>
		<script src="../d3.layout.cloud.js"></script>
 
	    <div style="padding: 5px;" id="word-cloud"></div>
 
	    <script>
			 var words = {"s&eacute;curit&eacute;":0.84876543,"c&rsquo;est":0.77160494,"contre":0.54012346,"r&eacute;sultats":0.42438272,"d&eacute;linquance":0.42438272,"forces":0.38580247,"souvent":0.30864198,"justice":0.30864198,"police":0.27006173,"l&rsquo;ordre":0.27006173,"depuis":0.27006173,"cambriolages":0.27006173,"violence":0.23148148,"travail":0.23148148,"messieurs":0.23148148,"l&rsquo;etat":0.23148148,"gendarmerie":0.23148148,"fran&ccedil;ais":0.23148148,"&oelig;uvre":0.19290123,"violences":0.19290123,"victimes":0.19290123,"r&eacute;publique":0.19290123,"pr&eacute;vention":0.19290123,"policiers":0.19290123,"nombre":0.19290123,"moyens":0.19290123,"l&rsquo;on":0.19290123,"l&rsquo;int&eacute;rieur":0.19290123,"gendarmes":0.19290123,"d&eacute;linquants":0.19290123,"confiance":0.19290123,"conditions":0.19290123,"cazeneuve":0.19290123,"bernard":0.19290123,"arm&eacute;e":0.19290123,"soci&eacute;t&eacute;":0.15432099,"saluer":0.15432099,"r&eacute;sidences":0.15432099,"publique":0.15432099,"pragmatique":0.15432099,"monsieur":0.15432099,"mesdames":0.15432099,"l&rsquo;action":0.15432099,"j&rsquo;ai":0.15432099,"gouvernement":0.15432099,"encore":0.15432099,"d&rsquo;un":0.15432099,"d&rsquo;agir":0.15432099,"derniers":0.15432099,"sommes":0.11574074,"r&eacute;alit&eacute;":0.11574074,"renforcer":0.11574074,"qu&rsquo;ils":0.11574074,"prioritaire":0.11574074,"principales":0.11574074,"ph&eacute;nom&egrave;nes":0.11574074,"permettre":0.11574074,"particuli&egrave;rement":0.11574074,"obtenus":0.11574074,"ministre":0.11574074,"l&rsquo;oise":0.11574074,"l&rsquo;ins&eacute;curit&eacute;":0.11574074,"l&rsquo;ensemble":0.11574074,"lutter":0.11574074,"locaux":0.11574074,"garantir":0.11574074,"efficacement":0.11574074,"d&rsquo;abord":0.11574074,"devons":0.11574074,"concitoyens":0.11574074,"combat":0.11574074,"citoyens":0.11574074,"chaque":0.11574074,"avoirs":0.11574074,"autant":0.11574074,"augment&eacute;":0.11574074,"approche":0.11574074,"&eacute;tait":0.07716049,"&eacute;galement":0.07716049,"vid&eacute;o-protection":0.07716049,"toutes":0.07716049,"territoires":0.07716049,"terrain":0.07716049,"surtout":0.07716049,"strat&eacute;gies":0.07716049,"statistique":0.07716049,"seules":0.07716049,"services":0.07716049,"service":0.07716049,"septembre":0.07716049,"sentiment":0.07716049,"saisie":0.07716049,"r&eacute;publicain":0.07716049,"r&eacute;pression":0.07716049,"r&eacute;pondre":0.07716049,"r&eacute;formes":0.07716049,"r&Eacute;sultats":0.07716049,"risques":0.07716049,"retour":0.07716049,"quartiers":0.07716049,"publics":0.07716049,"pr&eacute;sident":0.07716049,"progr&egrave;s":0.07716049,"procureurs":0.07716049,"premi&egrave;re":0.07716049,"pouvons":0.07716049,"portent":0.07716049,"peuvent":0.07716049,"personnes":0.07716049,"permettent":0.07716049,"n&eacute;cessite":0.07716049,"n&eacute;cessaires":0.07716049,"notamment":0.07716049,"niveau":0.07716049,"mont&eacute;e":0.07716049,"missions":0.07716049,"mission":0.07716049,"minist&egrave;re":0.07716049,"mati&egrave;re":0.07716049,"marqu&eacute;e":0.07716049,"malgr&eacute;":0.07716049,"madame":0.07716049,"l&rsquo;uniforme":0.07716049,"l&rsquo;implication":0.07716049,"l&rsquo;engagement":0.07716049,"l&rsquo;efficacit&eacute;":0.07716049,"l&rsquo;ann&eacute;e":0.07716049,"lourdes":0.07716049,"jamais":0.07716049,"implique":0.07716049,"habitants":0.07716049,"grande":0.07716049,"gauche":0.07716049,"f&eacute;liciter":0.07716049,"frappe":0.07716049,"financier":0.07716049,"fili&egrave;res":0.07716049,"femmes":0.07716049,"familles":0.07716049,"efforts":0.07716049,"d&rsquo;une":0.07716049,"d&rsquo;habitude":0.07716049,"d&eacute;partement":0.07716049,"d&eacute;montrent":0.07716049,"d&eacute;mocratie":0.07716049,"d&eacute;marche":0.07716049,"domaine":0.07716049,"doivent":0.07716049,"dissuasion":0.07716049,"dispositifs":0.07716049,"dispositif":0.07716049,"diminu&eacute;":0.07716049,"difficiles":0.07716049,"dernier":0.07716049,"demeure":0.07716049,"c&rsquo;est-&agrave;-dire":0.07716049,"criminels":0.07716049,"criminelles":0.07716049,"crapuleuses":0.07716049,"cons&eacute;quences":0.07716049,"confisqu&eacute;s":0.07716049,"confiscation":0.07716049,"chiffres":0.07716049,"chercher":0.07716049,"certains":0.07716049,"capital":0.07716049,"budget":0.07716049,"beaucoup":0.07716049,"attentes":0.07716049,"associant":0.07716049,"ann&eacute;es":0.07716049,"ann&eacute;e":0.07716049,"agissent":0.07716049,"adapt&eacute;es":0.07716049,"action":0.07716049,"acteurs":0.07716049,"accomplies":0.07716049,"&eacute;volution":0.03858025,"&eacute;voluer":0.03858025,"&eacute;viter":0.03858025,"&eacute;tudes":0.03858025,"&eacute;troit":0.03858025,"&eacute;tablir":0.03858025,"&eacute;quipes":0.03858025,"&eacute;prouvantes":0.03858025,"&eacute;l&egrave;vent":0.03858025,"&eacute;largir":0.03858025,"&eacute;conomique":0.03858025,"&eacute;ch&eacute;ant":0.03858025,"&acirc;g&eacute;es":0.03858025,"v&eacute;ritable":0.03858025,"voyons":0.03858025,"voulons":0.03858025,"voitures":0.03858025,"vivent":0.03858025,"violentes":0.03858025,"vigilance":0.03858025,"viendront":0.03858025,"vertueux":0.03858025,"veill&eacute;":0.03858025,"veillant":0.03858025,"valeurs":0.03858025,"urbaines":0.03858025,"unit&eacute;s":0.03858025,"t&eacute;moins":0.03858025,"trouvant":0.03858025,"troisi&egrave;me":0.03858025,"travers":0.03858025,"travaillent":0.03858025,"traumatismes":0.03858025,"traumatisme":0.03858025,"tranquillit&eacute;":0.03858025,"traiter":0.03858025,"trafics":0.03858025,"traduit":0.03858025,"toujours":0.03858025,"touche":0.03858025,"totale":0.03858025,"tomber":0.03858025,"territoire":0.03858025,"s&rsquo;introduire":0.03858025,"s&rsquo;attaquer":0.03858025,"s&rsquo;agit":0.03858025,"s&rsquo;agissant":0.03858025,"s&eacute;natrice-maire":0.03858025,"s&eacute;nateur":0.03858025,"s&eacute;curisation":0.03858025,"s&Eacute;curit&Eacute;":0.03858025,"syst&eacute;matiquement":0.03858025,"syst&egrave;mes":0.03858025,"symbolique":0.03858025,"supprim&eacute;s":0.03858025,"suppl&eacute;mentaires":0.03858025,"structur&eacute;es":0.03858025,"statistiques":0.03858025,"souhaite":0.03858025,"sociale":0.03858025,"slogan":0.03858025,"simple":0.03858025,"significatifs":0.03858025,"signal":0.03858025,"servir":0.03858025,"seront":0.03858025,"serait":0.03858025,"sensibles":0.03858025,"sensibilisation":0.03858025,"semaines":0.03858025,"secondaires":0.03858025,"savons":0.03858025,"savoir":0.03858025,"satisfaire":0.03858025,"sapeurs-pompiers":0.03858025,"sanction":0.03858025,"saisis":0.03858025,"saisir":0.03858025,"saisies":0.03858025,"r&eacute;v&eacute;ler":0.03858025,"r&eacute;soudre":0.03858025,"r&eacute;p&eacute;t&eacute;es":0.03858025,"r&eacute;ponses":0.03858025,"r&eacute;paration":0.03858025,"r&eacute;guli&egrave;re":0.03858025,"r&eacute;gler":0.03858025,"r&eacute;gional":0.03858025,"r&eacute;gime":0.03858025,"r&eacute;forme":0.03858025,"r&eacute;alisation":0.03858025,"r&Eacute;f&Eacute;rence":0.03858025,"revers&eacute;":0.03858025,"revendus":0.03858025,"revanche":0.03858025,"restaurer":0.03858025,"reposer":0.03858025,"repose":0.03858025,"renfor&ccedil;ant":0.03858025,"renforc&eacute;es":0.03858025,"renforc&Eacute;s":0.03858025,"rel&acirc;che":0.03858025,"regarder":0.03858025,"redoubler":0.03858025,"recul&eacute;":0.03858025,"recrut&eacute;s":0.03858025,"recouvrement":0.03858025,"reconstruit":0.03858025,"reconnaisse":0.03858025,"reconnaissante":0.03858025,"reconnaissances":0.03858025,"rassemblement":0.03858025,"rassemble":0.03858025,"rappeler":0.03858025,"rappel":0.03858025,"racket":0.03858025,"qu&rsquo;on":0.03858025,"qu&rsquo;est":0.03858025,"quotidien":0.03858025,"questionner":0.03858025,"question":0.03858025,"publiques":0.03858025,"public":0.03858025,"pr&eacute;serv&eacute;":0.03858025,"pr&eacute;sence":0.03858025,"pr&eacute;fet":0.03858025,"pr&eacute;cis&eacute;ment":0.03858025,"pr&eacute;cis":0.03858025,"prot&eacute;ger":0.03858025,"prot&egrave;gent":0.03858025,"propre":0.03858025,"projet":0.03858025,"progresser":0.03858025,"profond":0.03858025,"professionnels":0.03858025,"produit":0.03858025,"proc&eacute;dures":0.03858025,"proc&egrave;s":0.03858025,"proche":0.03858025,"probl&egrave;mes":0.03858025,"priv&eacute;e":0.03858025,"priver":0.03858025,"prises":0.03858025,"prioritaires":0.03858025,"prioritairement":0.03858025,"prennent":0.03858025,"premiers":0.03858025,"pragmatiques":0.03858025,"pouvoirs":0.03858025,"poursuivre":0.03858025,"pourraient":0.03858025,"pourquoi":0.03858025,"postes":0.03858025,"possibilit&eacute;s":0.03858025,"porter":0.03858025,"pol&eacute;miques":0.03858025,"polices":0.03858025,"pointe":0.03858025,"plusieurs":0.03858025,"pertinence":0.03858025,"pers&eacute;v&eacute;rer":0.03858025,"personne":0.03858025,"pensons":0.03858025,"penser":0.03858025,"patrouilles":0.03858025,"patrimoine":0.03858025,"passant":0.03858025,"partir":0.03858025,"partenariat":0.03858025,"partenaires":0.03858025,"paient":0.03858025,"obtient":0.03858025,"obtenons":0.03858025,"objectifs":0.03858025,"objectif":0.03858025,"n&rsquo;oublie":0.03858025,"n&rsquo;ont":0.03858025,"n&rsquo;est":0.03858025,"n&rsquo;accepte":0.03858025,"n&eacute;cessitent":0.03858025,"nuisent":0.03858025,"nouvelles":0.03858025,"nouvelle":0.03858025,"notable":0.03858025,"nationaux":0.03858025,"national":0.03858025,"nation":0.03858025,"m&eacute;tiers":0.03858025,"m&eacute;thodes":0.03858025,"m&eacute;thode":0.03858025,"municipales":0.03858025,"municipale":0.03858025,"moment":0.03858025,"moi-m&ecirc;me":0.03858025,"modestes":0.03858025,"minist&egrave;res":0.03858025,"militaires":0.03858025,"mettre":0.03858025,"mettons":0.03858025,"mettent":0.03858025,"mettant":0.03858025,"mesures":0.03858025,"mesurer":0.03858025,"menons":0.03858025,"meilleures":0.03858025,"mati&Egrave;re":0.03858025,"matin&eacute;e":0.03858025,"mani&egrave;re":0.03858025,"maintien":0.03858025,"l&rsquo;&eacute;lucidation":0.03858025,"l&rsquo;outil":0.03858025,"l&rsquo;oublie":0.03858025,"l&rsquo;organisation":0.03858025,"l&rsquo;intimit&eacute;":0.03858025,"l&rsquo;interpellation":0.03858025,"l&rsquo;insee":0.03858025,"l&rsquo;h&ocirc;tel":0.03858025,"l&rsquo;h&eacute;morragie":0.03858025,"l&rsquo;honneur":0.03858025,"l&rsquo;heure":0.03858025,"l&rsquo;explosion":0.03858025,"l&rsquo;esprit":0.03858025,"l&rsquo;espace":0.03858025,"l&rsquo;autorit&eacute;":0.03858025,"l&rsquo;ampleur":0.03858025,"l&rsquo;ai":0.03858025,"l&rsquo;agence":0.03858025,"l&rsquo;affaire":0.03858025,"l&rsquo;acharnement":0.03858025,"l&eacute;gal":0.03858025,"lorsque":0.03858025,"longtemps":0.03858025,"logement":0.03858025,"lisible":0.03858025,"libert&eacute;s":0.03858025,"lequel":0.03858025,"laxiste":0.03858025,"justice)":0.03858025,"judicieux":0.03858025,"jeunes":0.03858025,"itin&eacute;rante":0.03858025,"investissements":0.03858025,"invers&eacute;":0.03858025,"inutiles":0.03858025,"interminist&eacute;riel":0.03858025,"intercommunales":0.03858025,"ins&eacute;curit&eacute;":0.03858025,"innovantes":0.03858025,"initi&eacute;es":0.03858025,"initiatives":0.03858025,"ind&eacute;pendance":0.03858025,"industriels":0.03858025,"individus":0.03858025,"indispensable":0.03858025,"incitatif":0.03858025,"incapable":0.03858025,"inaugur&eacute;":0.03858025,"importantes":0.03858025,"imm&eacute;diate&hellip;":0.03858025,"immobiliers":0.03858025,"id&eacute;es":0.03858025,"hommes":0.03858025,"hausse":0.03858025,"g&eacute;n&eacute;raux":0.03858025,"guid&eacute;":0.03858025,"gestion":0.03858025,"france":0.03858025,"fragiles":0.03858025,"fortement":0.03858025,"formes":0.03858025,"fondements":0.03858025,"fonctionnent":0.03858025,"fonctionnaires":0.03858025,"finances":0.03858025,"fiabilisation":0.03858025,"fermet&eacute;":0.03858025,"favoris&eacute;s":0.03858025,"faibles":0.03858025,"facteurs":0.03858025,"facilit&eacute;":0.03858025,"expos&eacute;s":0.03858025,"existe":0.03858025,"exemple":0.03858025,"excellents":0.03858025,"evidemment":0.03858025,"essentiels":0.03858025,"essentiel":0.03858025,"envoyer":0.03858025,"envers":0.03858025,"enregistr&eacute;s":0.03858025,"enjeux":0.03858025,"engag&eacute;":0.03858025,"enfants":0.03858025,"encourageants":0.03858025,"emp&ecirc;cher":0.03858025,"emploient":0.03858025,"empar&eacute;s":0.03858025,"effectifs":0.03858025,"d&rsquo;&eacute;lucidation":0.03858025,"d&rsquo;outils":0.03858025,"d&rsquo;obtenir":0.03858025,"d&rsquo;investigation":0.03858025,"d&rsquo;ins&eacute;curit&eacute;":0.03858025,"d&rsquo;identit&eacute;":0.03858025,"d&rsquo;exercice":0.03858025,"d&rsquo;enregistrements":0.03858025,"d&rsquo;en":0.03858025,"d&rsquo;efforts":0.03858025,"d&rsquo;autre":0.03858025,"d&rsquo;autant":0.03858025,"d&rsquo;attaques":0.03858025,"d&rsquo;ailleurs":0.03858025,"d&rsquo;activit&eacute;s":0.03858025,"d&rsquo;action":0.03858025,"d&rsquo;accueil":0.03858025,"d&eacute;vouement":0.03858025,"d&eacute;termin&eacute;e":0.03858025,"d&eacute;termination":0.03858025,"d&eacute;ploy&eacute;":0.03858025,"d&eacute;passant":0.03858025,"d&eacute;montrons":0.03858025,"d&eacute;montre":0.03858025,"d&eacute;menti":0.03858025,"d&eacute;linquant":0.03858025,"d&eacute;lictuelles":0.03858025,"d&eacute;j&agrave;":0.03858025,"d&eacute;finitive":0.03858025,"d&eacute;finis":0.03858025,"d&eacute;dommager":0.03858025,"d&eacute;cisions":0.03858025,"d&eacute;cision":0.03858025,"d&eacute;cennie":0.03858025,"d&eacute;but":0.03858025,"d&eacute;bats":0.03858025,"d&Eacute;linquance":0.03858025,"dur&eacute;e":0.03858025,"durable":0.03858025,"drogue":0.03858025,"donner":0.03858025,"domaine-l&agrave;":0.03858025,"diversit&eacute;":0.03858025,"disait":0.03858025,"directeurs":0.03858025,"diminution":0.03858025,"dimensions":0.03858025,"diff&eacute;rentes":0.03858025,"difficult&eacute;":0.03858025,"devrait":0.03858025,"devenir":0.03858025,"devant":0.03858025,"deuxi&egrave;me":0.03858025,"derni&egrave;res":0.03858025,"c&rsquo;&eacute;tait":0.03858025,"culpabilit&eacute;":0.03858025,"cr&eacute;ent":0.03858025,"cr&eacute;dibilit&eacute;":0.03858025,"cr&eacute;ation":0.03858025,"critique":0.03858025,"couvrir":0.03858025,"courb&eacute;":0.03858025,"courage":0.03858025,"coproduction":0.03858025,"coop&eacute;ration":0.03858025,"con&ccedil;oit":0.03858025,"contribu&eacute;":0.03858025,"contribuent":0.03858025,"contribue":0.03858025,"contraints":0.03858025,"continuera":0.03858025,"continuer":0.03858025,"contextes":0.03858025,"construire":0.03858025,"constat&eacute;s":0.03858025,"conseil":0.03858025,"connaissez":0.03858025,"connais":0.03858025,"conform&eacute;ment":0.03858025,"confiscations":0.03858025,"concr&egrave;tement":0.03858025,"concern&eacute;s":0.03858025,"concerner":0.03858025,"concernant":0.03858025,"comprennent":0.03858025,"comprendre":0.03858025,"compatriotes":0.03858025,"commissariats":0.03858025,"commis":0.03858025,"commerciaux":0.03858025,"combien":0.03858025,"combattre":0.03858025,"coh&eacute;rente":0.03858025,"clivages":0.03858025,"claires":0.03858025,"cinglant":0.03858025,"ciblant":0.03858025,"choses":0.03858025,"changer":0.03858025,"chacun":0.03858025,"celles":0.03858025,"cartographique":0.03858025,"cambriol&eacute;es":0.03858025,"cambriolage":0.03858025,"b&eacute;n&eacute;fice":0.03858025,"budgets":0.03858025,"brigades":0.03858025,"bless&eacute;s":0.03858025,"besoins":0.03858025,"beauvais":0.03858025,"baiss&eacute;":0.03858025,"baisse":0.03858025,"avaient":0.03858025,"auxquelles":0.03858025,"aupr&egrave;s":0.03858025,"attaqu&eacute;s":0.03858025,"attaques":0.03858025,"assur&eacute;es":0.03858025,"associe":0.03858025,"aspirent":0.03858025,"arr&ecirc;t&eacute;s":0.03858025,"arm&Eacute;e":0.03858025,"apr&egrave;s":0.03858025,"apport&eacute;":0.03858025,"anti-vol":0.03858025,"anti-cambriolages":0.03858025,"ann&eacute;e-l&agrave;":0.03858025,"ang&eacute;lique":0.03858025,"am&eacute;liorer":0.03858025,"am&eacute;liorant":0.03858025,"all&eacute;s":0.03858025,"agressions":0.03858025,"agissant":0.03858025,"agents":0.03858025,"affecte":0.03858025,"adopt&eacute;e":0.03858025,"administrative":0.03858025,"actuel":0.03858025,"activit&eacute;s":0.03858025,"accro&icirc;tre":0.03858025,"(police":0.03858025,"(agrasc)":0.03858025};
 
 
	        function drawWordCloud(rescale)
	        {
	            width = 1200;
	            height = 1200;
				/* Impact is more visual for our purpose */
	            fontFamily = "Impact";
	            var fill = d3.scale.category20();
	            d3.layout.cloud().size([width, height])
	                .words(Object.keys(words).map(function(d)
	                {
	                    return {
	                        text: d,
	                        size: 7 + words[d] * rescale
	                    };
	                }))
	                .padding(5)
	                .rotate(function()
	                {
	                    // return ~~(Math.random() * 2) * 90;
	                    return 0;
	                })
	                .font(fontFamily)
	                .fontSize(function(d)
	                {
	                    return d.size;
	                })
	                .on("end", draw)
	                .start();
 
	            function draw(words)
	            {
	                d3.select("#word-cloud").append("svg")
	                    .attr("width", width)
	                    .attr("height", height)
	                    .append("g")
	                    .attr("transform", "translate(" + width / 2 + ", " + height / 2 + ")")
	                    .selectAll("text")
	                    .data(words)
	                    .enter().append("text")
	                    .style("font-size", function(d)
	                    {
	                        return d.size + "px";
	                    })
	                    .style("font-family", fontFamily)
	                    .style("fill", function(d, i)
	                    {
	                        return fill(i);
	                    })
	                    .attr("text-anchor", "middle")
	                    .attr("transform", function(d)
	                    {
	                        return "translate(" + [d.x, d.y] + ")rotate(" + d.rotate + ")";
	                    })
	                    .text(function(d)
	                    {
	                        return d.text;
	                    });
	            }
	        }
 
	        drawWordCloud(250);
	    </script>
	</body>
 
	</html>

En savoir plus