forked from sunnyuxuan's block: Week4 homework1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- Updated code from Christophe Viau for a d3 tooltip in the old days: | |
https://gist.github.com/biovisualize/1016860 --> | |
<html > | |
<head> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
body { | |
margin: 50px; | |
font-family: Arial; | |
} | |
h1 { |
Use the mouse to click on a dot and see the word plotted. Click a label to hide it again.
Color indicates polarity based on simple word labeling from the AFINN wordlist. It may be that context in this dataset affects polarity :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<style> | |
circle { | |
fill: blue; | |
} | |
svg { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Adding Labels</title> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<style type="text/css"> | |
body { | |
background-color: #ddddff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Highcharts Example SlopeGraph</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script src="https://code.highcharts.com/highcharts.js"></script> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date | Berri 1 | Brébeuf (données non disponibles) | Côte-Sainte-Catherine | Maisonneuve 1 | Maisonneuve 2 | du Parc | Pierre-Dupuy | Rachel1 | St-Urbain (données non disponibles) | |
---|---|---|---|---|---|---|---|---|---|---|
01/01/2012 | 35 | 0 | 38 | 51 | 26 | 10 | 16 | |||
02/01/2012 | 83 | 1 | 68 | 153 | 53 | 6 | 43 | |||
03/01/2012 | 135 | 2 | 104 | 248 | 89 | 3 | 58 | |||
04/01/2012 | 144 | 1 | 116 | 318 | 111 | 8 | 61 | |||
05/01/2012 | 197 | 2 | 124 | 330 | 97 | 13 | 95 | |||
06/01/2012 | 146 | 0 | 98 | 244 | 86 | 4 | 75 | |||
07/01/2012 | 98 | 2 | 80 | 108 | 53 | 6 | 54 | |||
08/01/2012 | 95 | 1 | 62 | 98 | 64 | 11 | 63 | |||
09/01/2012 | 244 | 2 | 165 | 432 | 198 | 12 | 173 |
OlderNewer