Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jerstucki on github.
  • I am jeremystucki (https://keybase.io/jeremystucki) on keybase.
  • I have a public key ASBKlemcHpNeMObrKnqsHfhx86MBIXlOx8tv4j8-lxTRugo

To claim this, I am signing this object:

@jstcki
jstcki / Readme.md
Last active June 23, 2022 17:32 — forked from wiederkehr/Readme.md
Streamgraph to multiple area charts

Example of a streamgraph that can be divided into multiple area charts.

@jstcki
jstcki / README.md
Last active May 25, 2021 11:36
Swiss Cantons and Municipalities with React
@jstcki
jstcki / README.md
Last active September 11, 2020 17:16
Swiss Municipality Coordinates

Extract and list Swiss municipality coordinates from TopoJSON.

@jstcki
jstcki / README.md
Created December 18, 2012 12:48
Swiss Cantons and Municipalities

Map of Switzerland with TopoJSON and map data from Swiss Maps. Cantons and municipalities are combined in a single TopoJSON file.

@jstcki
jstcki / README.md
Last active December 1, 2018 13:34
Swiss Topography
@jstcki
jstcki / README.md
Last active November 18, 2018 18:22
Polylinear Time Scale

When creating a polylinear time scale, the tricky part is to know to which value in the range the intermediate dates should map.

Let's say we want to "zoom in" on 4 particular days and make them appear with the size of 10 days each. Because these days now take up more space (36 or (factor - 1) * n), we need to create a linear time scale where the domain ends at 36 days later than we want to show. This scale is then used to determine the intermediary range values of the polylinear scale.

@jstcki
jstcki / .block
Last active August 10, 2018 04:37
Interpolate anything with React Motion
license: mit
@jstcki
jstcki / README.md
Last active December 12, 2017 21:22
Filtering the Grid 2

Filtering items in a grid layout with a fixed amount of columns and rows.

@jstcki
jstcki / README.md
Last active October 6, 2017 15:43
Sorting the Grid