Skip to content

Instantly share code, notes, and snippets.

@EE2dev
EE2dev / index.html
Last active March 11, 2017 21:56
Sequence explorer - visualizing meetup attendence
<!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.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>
@EE2dev
EE2dev / index.html
Last active March 18, 2017 01:28
Visualizing meetup attendence with sequence explorer
<!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.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>
@EE2dev
EE2dev / index.html
Last active April 7, 2017 13:33
Visualizing meetup attendence with sequence explorer (3)
<!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>
@EE2dev
EE2dev / Readme.md
Last active August 23, 2021 16:27
Sequence explorer - main demo
@EE2dev
EE2dev / .block
Last active September 17, 2017 21:56
Sankey Diagram with curved vertical links
license: mit
@EE2dev
EE2dev / .block
Last active September 17, 2017 22:07
Vertical alignment of text labels
license: mit
@EE2dev
EE2dev / Readme.md
Last active November 7, 2017 22:39
Alignment of text labels - 2

This is an example how to compute the position of text labels when the axis is rescaled. The text labels and the ticks of the axis are transitioned to the destination while satisfying:

  • that the labels do not vertically overlap with each other
  • that the labels stay vertically within a give frame
  • that the labels are transitioned left or right of the new element depending on the empty space

see also: https://bl.ocks.org/ee2dev/fc880e1cfbb80f649878f3d5b9e8ed93

@EE2dev
EE2dev / index.html
Last active December 21, 2017 01:42
Sequence explorer - single chart (with JSON file)
<!DOCTYPE html>
<meta charset="utf-8"> <!-- also save this file as unicode-8 ! -->
<head>
<link rel="stylesheet" type="text/css" href="https://ee2dev.github.io/libs/sankeySeqExplorer.v20.css">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://ee2dev.github.io/libs/sequence-explorer.v20.min.js"></script>
</head>
<body>
<script>
@EE2dev
EE2dev / index.html
Last active December 19, 2017 00:03
Sequence explorer - main example (with JSON file)
<!DOCTYPE html>
<meta charset="utf-8"> <!-- also save this file as unicode-8 ! -->
<head>
<link rel="stylesheet" type="text/css" href="https://ee2dev.github.io/libs/sankeySeqExplorer.v20.css">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://ee2dev.github.io/libs/sequence-explorer.v20.min.js"></script>
</head>
<style>
rect.nyresponded_but_did_not_show_up {
fill: red;
@EE2dev
EE2dev / .block
Last active January 20, 2018 15:49
sequence explorer - with events not connected to the next one
license: mit