Skip to content

Instantly share code, notes, and snippets.

View dsaffo's full-sized avatar
☄️

David Saffo dsaffo

☄️
  • Boston, Detroit
View GitHub Profile
@dsaffo
dsaffo / LICENSE
Last active July 29, 2020 20:32 — forked from amitkaps/LICENSE
Scatter Brushing Rule
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@dsaffo
dsaffo / .block
Last active July 29, 2020 20:32 — forked from jakevdp/.block
Example of an interactive time-series plot
license: MIT
@dsaffo
dsaffo / LICENSE
Last active July 29, 2020 20:31 — forked from amitkaps/LICENSE
Multi Line Highlight
The MIT License (MIT)
Copyright (c) 2017 Amit Kapoor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@dsaffo
dsaffo / .block
Last active October 15, 2020 19:27 — forked from jakevdp/.block
VisConnect X Vega: Interactive Exploration of Seattle Weather
license: MIT
@dsaffo
dsaffo / .block
Last active July 29, 2020 20:31 — forked from jakevdp/.block
Vega-Lite Bike Counts with Dynamic Scale
license: MIT
@dsaffo
dsaffo / README.md
Last active July 29, 2020 19:08 — forked from measrainsey/README.md
US Nuclear Generating Capacity Map
We couldn’t find that file to show.
@dsaffo
dsaffo / README.md
Last active October 15, 2020 19:27 — forked from mbostock/.block
Versor Dragging

VisConnect Versor Dragging

This VisConnect example is adapted from this observable. The only changes are adding the PeerJS and VisConnect script tags, and replacing d3.drag() with vc.drag(). Click the visconnect logo on the bottom right and send the coppied URL to a friend. Once they open the link all your interactions will be synchronized!

@dsaffo
dsaffo / .block
Last active July 27, 2020 19:44 — forked from tristanwietsma/.block
Brush & Zoom
license: gpl-3.0
@dsaffo
dsaffo / Lekagul_slice.csv
Last active July 27, 2020 19:34 — forked from john-guerra/.block
D3 Brush and Linking
We can't make this file beautiful and searchable because it's too large.
Timestamp,car-id,car-type,gate-name
2016-05-02 18:05:34,20161602051605-625,2P,camping7
2016-05-02 18:09:13,20160902060913-100,2,entrance3
2016-05-02 18:15:04,20161602051605-625,2P,general-gate6
2016-05-02 18:18:28,20165902055925-718,1,general-gate2
2016-05-02 18:19:46,20161602051605-625,2P,general-gate5
2016-05-02 18:21:32,20165902055925-718,1,ranger-stop0
2016-05-02 18:24:26,20165902055925-718,1,ranger-stop2
2016-05-02 18:25:29,20163502053547-68,3,entrance2
2016-05-02 18:26:56,20165902055925-718,1,general-gate1
@dsaffo
dsaffo / flowers.csv
Last active July 27, 2020 19:19 — forked from Fil/.block
Scatterplot Matrix Brushing d3v4
sepal length sepal width petal length petal width species
5.1 3.5 1.4 0.2 setosa
4.9 3.0 1.4 0.2 setosa
4.7 3.2 1.3 0.2 setosa
4.6 3.1 1.5 0.2 setosa
5.0 3.6 1.4 0.2 setosa
5.4 3.9 1.7 0.4 setosa
4.6 3.4 1.4 0.3 setosa
5.0 3.4 1.5 0.2 setosa
4.4 2.9 1.4 0.2 setosa