Skip to content

Instantly share code, notes, and snippets.

View hydrosquall's full-sized avatar

Cameron Yick hydrosquall

View GitHub Profile
@hydrosquall
hydrosquall / .block
Last active July 8, 2019 03:05
Multivariate Data Exploration with Navio: US Medical Data Breaches
license: mit
@hydrosquall
hydrosquall / index.md
Last active July 3, 2019 22:27
Recommendations for Interactive Maps

A quick response to what Tools do you recommend for making interactive maps?

Making Maps Quickly Without Custom Code

This would be my top suggestion for getting something running quickly assuming you already have the data. The site has lots of docs + examples, tooling for generating these maps from within Jupyter and Tableau is coming soon. All the pieces are open source in case you end up needing to customize it further, but you can get something quite advanced without writing any new javascript. The downside is that you can't perform data aggregation/transformation from within the tool, so all data shaping needs to happen before you upload your data file. If your data is private, you can self host or run this application locally.

Some unique UI controls that'll work out of the box for you - sliders with histograms visualizing the variable you're filtering on, timeline filters, easily 3d data layers or point

@hydrosquall
hydrosquall / actions.ts
Created June 28, 2019 18:01
typesafe action reducers
import { createAction } from "typesafe-actions";
import { TrainStop, TrainStation } from './types';
// Actions - no need for constants to be used elsewhere!
const SET_SELECTED_ROUTE = "SET_SELECTED_ROUTE";
const SET_STOPS = "SET_STOPS";
const SET_STATIONS = "SET_STATIONS";
const SET_MAX_TRIPS = "SET_MAX_TRIPS";
const SET_ROUTE_DATA = "SET_ROUTE_DATA"; // load stops and stations simultaneously
const SET_SELECTED_STATIONS = "SET_SELECTED_STATIONS"; // load stops and stations simultaneously
@hydrosquall
hydrosquall / index.md
Last active February 12, 2019 03:30
Jennifer Shin - Talks + Presentations
@hydrosquall
hydrosquall / .block
Last active February 9, 2019 21:14
Force-simulated Solar System
license: mit
@hydrosquall
hydrosquall / .block
Created February 9, 2019 20:47
Force-simulated Solar System
license: mit
@hydrosquall
hydrosquall / .block
Created February 4, 2019 17:04
D3 Example: zoom, pan, and axis rescale
license: mit
@hydrosquall
hydrosquall / .block
Last active July 22, 2018 16:11
Diverging Stacked Bar Chart
license: mit
Year Enslaved Free
1790 389 0
1800 3499 0
1814 920 8271
1820 518 10368
1830 17 15000
1835 0 15129
@hydrosquall
hydrosquall / .block
Created April 19, 2018 01:26
rocket_launch_csv_example
license: mit