Skip to content

Instantly share code, notes, and snippets.

@carlvlewis

carlvlewis/index.html

Forked from EE2dev/index.html
Created Apr 7, 2017
Embed
What would you like to do?
Visualizing meetup attendence with sequence explorer (3)

Sequence explorer

This example shows one way to visualize the attendence record of a meetup with some member information. The collected data is here and has been processed to the required data format.

Link to sequence explorer on github.

<!DOCTYPE html>
<meta charset="utf-8"> <!-- also save this file as unicode-8 ! -->
<head>
<link rel="stylesheet" type="text/css" href="http://www.ankerst.de/lib/sankeySeqExplorer_10.css">
<!--script src="../../../lib/d3_v4_2_1/d3.js"></script-->
<script src="http://d3js.org/d3.v4.min.js"></script>
<script src="http://www.ankerst.de/lib/sankeySeqExplorer_10.min.js"></script>
<script src="http://www.ankerst.de/lib/sankeySeq_10.min.js"></script>
<style>
rect.nyresponded_but_did_not_show_up {
fill: red;
}
</style>
</head>
<body>
<script>
// no parameter when data is embedded in <pre id="data"> tag, otherwise sequenceExplorerChart(file);
// var myChart = sequenceExplorerChart();
var myChart = sequenceExplorerChart("meetup_sankey_11.csv")
.showNodeLabels(false)
.sequenceName("meetup")
.categoryName("action")
.categories(["joined meetup group","responded but did not show up","did not respond","responded No","responded and showed up"])
.sequence(["before meetup1","meetup1","meetup2","meetup3"])
.valueName("members");
d3.select("body")
.append("div")
.attr("class", "chart")
.call(myChart);
</script>
</body>
</html>
value sourceX sourceY targetX targetY member group
51 before meetup1 joined meetup group meetup1 responded No members since meetup 1
19 meetup2 responded but did not show up meetup3 did not respond members since meetup 1
29 meetup1 joined meetup group meetup2 responded and showed up all members
20 meetup1 responded and showed up meetup2 did not respond members since meetup 1
37 meetup1 joined meetup group meetup2 responded but did not show up all members
2 meetup2 responded No meetup3 responded No members since meetup 2
28 meetup2 responded and showed up meetup3 did not respond all members
58 before meetup1 joined meetup group meetup1 responded and showed up members since meetup 1
51 before meetup1 joined meetup group meetup1 responded No all members
217 before meetup1 joined meetup group meetup1 did not respond all members
16 meetup2 joined meetup group meetup3 responded No all members
2 meetup2 responded No meetup3 responded and showed up members since meetup 2
3 meetup2 responded but did not show up meetup3 responded and showed up members since meetup 2
9 meetup1 responded but did not show up meetup2 responded and showed up all members
169 meetup1 joined meetup group meetup2 did not respond all members
19 meetup2 responded and showed up meetup3 responded and showed up all members
4 meetup2 did not respond meetup3 responded No members since meetup 2
7 meetup2 did not respond meetup3 responded but did not show up members since meetup 2
25 meetup2 responded No meetup3 did not respond members since meetup 1
20 meetup1 responded and showed up meetup2 did not respond all members
17 meetup2 responded and showed up meetup3 did not respond members since meetup 2
5 meetup1 responded No meetup2 responded and showed up all members
68 before meetup1 joined meetup group meetup1 responded but did not show up all members
27 meetup2 joined meetup group meetup3 responded but did not show up members since meetup 3
48 meetup1 responded but did not show up meetup2 did not respond members since meetup 1
7 meetup1 responded and showed up meetup2 responded but did not show up members since meetup 1
7 meetup1 did not respond meetup2 responded and showed up all members
5 meetup2 responded and showed up meetup3 responded but did not show up members since meetup 1
9 meetup2 did not respond meetup3 responded No all members
20 meetup1 responded and showed up meetup2 responded and showed up members since meetup 1
11 meetup1 responded and showed up meetup2 responded No members since meetup 1
5 meetup2 responded No meetup3 responded and showed up members since meetup 1
16 meetup2 joined meetup group meetup3 responded No members since meetup 3
30 meetup1 responded No meetup2 did not respond all members
48 meetup1 responded but did not show up meetup2 did not respond all members
16 meetup2 responded and showed up meetup3 responded No all members
10 meetup1 did not respond meetup2 responded but did not show up members since meetup 1
193 meetup1 did not respond meetup2 did not respond members since meetup 1
5 meetup1 responded No meetup2 responded but did not show up members since meetup 1
8 meetup1 responded but did not show up meetup2 responded No members since meetup 1
13 meetup2 responded No meetup3 did not respond members since meetup 2
37 meetup1 joined meetup group meetup2 responded but did not show up members since meetup 2
11 meetup1 responded No meetup2 responded No all members
14 meetup2 did not respond meetup3 responded but did not show up all members
8 meetup2 responded but did not show up meetup3 responded but did not show up all members
7 meetup2 responded and showed up meetup3 responded and showed up members since meetup 2
2 meetup2 responded and showed up meetup3 responded but did not show up members since meetup 2
6 meetup2 responded No meetup3 responded but did not show up all members
169 meetup1 joined meetup group meetup2 did not respond members since meetup 2
2 meetup2 responded No meetup3 responded but did not show up members since meetup 2
7 meetup1 did not respond meetup2 responded No all members
1 meetup2 responded but did not show up meetup3 responded No members since meetup 2
28 meetup2 responded but did not show up meetup3 did not respond members since meetup 2
19 meetup1 joined meetup group meetup2 responded No members since meetup 2
427 meetup2 did not respond meetup3 did not respond all members
3 meetup1 responded but did not show up meetup2 responded but did not show up members since meetup 1
29 meetup1 joined meetup group meetup2 responded and showed up members since meetup 2
157 meetup2 did not respond meetup3 did not respond members since meetup 2
4 meetup2 responded but did not show up meetup3 responded and showed up all members
7 meetup1 did not respond meetup2 responded No members since meetup 1
10 meetup2 did not respond meetup3 responded and showed up all members
27 meetup2 joined meetup group meetup3 responded but did not show up all members
5 meetup2 responded but did not show up meetup3 responded but did not show up members since meetup 2
5 meetup2 responded No meetup3 responded No all members
214 meetup2 joined meetup group meetup3 did not respond all members
11 meetup2 responded and showed up meetup3 did not respond members since meetup 1
3 meetup2 responded No meetup3 responded No members since meetup 1
9 meetup2 did not respond meetup3 responded and showed up members since meetup 1
270 meetup2 did not respond meetup3 did not respond members since meetup 1
10 meetup1 did not respond meetup2 responded but did not show up all members
30 meetup1 responded No meetup2 did not respond members since meetup 1
1 meetup2 responded but did not show up meetup3 responded and showed up members since meetup 1
11 meetup1 responded and showed up meetup2 responded No all members
8 meetup1 responded but did not show up meetup2 responded No all members
7 meetup2 did not respond meetup3 responded but did not show up members since meetup 1
3 meetup2 responded but did not show up meetup3 responded No all members
3 meetup2 responded but did not show up meetup3 responded but did not show up members since meetup 1
44 meetup2 joined meetup group meetup3 responded and showed up members since meetup 3
11 meetup1 responded No meetup2 responded No members since meetup 1
5 meetup1 responded No meetup2 responded and showed up members since meetup 1
214 meetup2 joined meetup group meetup3 did not respond members since meetup 3
38 meetup2 responded No meetup3 did not respond all members
2 meetup2 responded but did not show up meetup3 responded No members since meetup 1
1 meetup2 did not respond meetup3 responded and showed up members since meetup 2
3 meetup2 responded and showed up meetup3 responded No members since meetup 2
3 meetup1 responded but did not show up meetup2 responded but did not show up all members
7 meetup2 responded No meetup3 responded and showed up all members
4 meetup2 responded No meetup3 responded but did not show up members since meetup 1
20 meetup1 responded and showed up meetup2 responded and showed up all members
7 meetup1 responded and showed up meetup2 responded but did not show up all members
7 meetup2 responded and showed up meetup3 responded but did not show up all members
7 meetup1 did not respond meetup2 responded and showed up members since meetup 1
58 before meetup1 joined meetup group meetup1 responded and showed up all members
5 meetup2 did not respond meetup3 responded No members since meetup 1
68 before meetup1 joined meetup group meetup1 responded but did not show up members since meetup 1
5 meetup1 responded No meetup2 responded but did not show up all members
193 meetup1 did not respond meetup2 did not respond all members
44 meetup2 joined meetup group meetup3 responded and showed up all members
19 meetup1 joined meetup group meetup2 responded No all members
13 meetup2 responded and showed up meetup3 responded No members since meetup 1
12 meetup2 responded and showed up meetup3 responded and showed up members since meetup 1
47 meetup2 responded but did not show up meetup3 did not respond all members
9 meetup1 responded but did not show up meetup2 responded and showed up members since meetup 1
217 before meetup1 joined meetup group meetup1 did not respond members since meetup 1
sourceX sourceY member group intro photo from Munich visit 14dbm visit 7dbm
meetup2 responded and showed up all members 8 60 67 67 66
meetup1 responded but did not show up all members 3 60 65 0 0
meetup3 responded but did not show up all members 2 55 56 57 47
meetup2 did not respond members since meetup 2 0 130 144 50 34
meetup1 did not respond members since meetup 1 3 182 185 0 0
meetup2 responded and showed up members since meetup 2 2 21 28 28 28
meetup2 did not respond all members 10 376 400 83 56
meetup1 responded and showed up all members 12 51 56 0 0
meetup3 responded No members since meetup 3 0 14 14 13 11
meetup3 responded No members since meetup 2 0 7 10 10 9
before meetup1 joined meetup group members since meetup 1 20 340 354 0 0
meetup2 responded No members since meetup 2 1 15 17 19 17
meetup3 responded No members since meetup 1 3 23 23 22 20
meetup3 responded No all members 3 44 47 45 40
meetup1 responded No members since meetup 1 2 47 48 0 0
before meetup1 joined meetup group all members 20 340 354 0 0
meetup1 responded and showed up members since meetup 1 12 51 56 0 0
meetup3 responded and showed up members since meetup 1 5 25 25 24 24
meetup3 did not respond members since meetup 1 11 274 287 24 22
meetup3 did not respond members since meetup 2 2 167 185 17 13
meetup1 responded but did not show up members since meetup 1 3 60 65 0 0
meetup3 responded and showed up all members 8 67 73 80 79
meetup3 responded and showed up members since meetup 3 2 33 36 43 42
meetup3 did not respond members since meetup 3 0 177 185 58 40
meetup3 did not respond all members 13 618 657 99 75
meetup3 responded and showed up members since meetup 2 1 9 12 13 13
meetup2 responded but did not show up all members 1 56 55 42 34
meetup2 responded No all members 5 47 53 54 46
meetup1 responded No all members 2 47 48 0 0
meetup2 responded and showed up members since meetup 1 6 39 39 39 38
meetup2 joined meetup group members since meetup 3 2 245 258 0 0
meetup2 joined meetup group all members 2 245 258 0 0
meetup1 joined meetup group members since meetup 2 4 199 221 0 0
meetup2 responded but did not show up members since meetup 2 1 33 32 22 16
meetup3 responded but did not show up members since meetup 2 1 16 14 16 15
meetup1 joined meetup group all members 4 199 221 0 0
meetup2 did not respond members since meetup 1 10 246 256 33 22
meetup2 responded No members since meetup 1 4 32 36 35 29
meetup2 responded but did not show up members since meetup 1 0 23 23 20 18
meetup3 responded but did not show up members since meetup 3 0 21 23 25 18
meetup1 did not respond all members 3 182 185 0 0
meetup3 responded but did not show up members since meetup 1 1 18 19 16 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.