Skip to content

Instantly share code, notes, and snippets.

View siddharthpolisiti's full-sized avatar

siddharthpolisiti

View GitHub Profile

d3js Multiline chart with brushing and mouseover

@siddharthpolisiti
siddharthpolisiti / README.md
Last active December 26, 2016 18:49 — forked from rkirsling/LICENSE
Directed Graph Editor

Click in the open space to add a node, drag from one node to another to add an edge.
Ctrl-drag a node to move the graph layout.
Click a node or an edge to select it.

When a node is selected: R toggles reflexivity, Delete removes the node.
When an edge is selected: L(eft), R(ight), B(oth) change direction, Delete removes the edge.

To see this example as part of a larger project, check out Modal Logic Playground!

@siddharthpolisiti
siddharthpolisiti / README.markdown
Last active July 28, 2016 05:45 — forked from bewest/README.markdown
d3 several time scales ~bewest

Time scales

This demo several time scales. src

full screen demo

D3's time axis does magic things. I expected to modify the x axis such that I could mostly re-use D3's date formatting tricks, but exercise greater control over the resolution at different time scales.