Skip to content

Instantly share code, notes, and snippets.

View tjaensch's full-sized avatar

Thomas Jaensch tjaensch

View GitHub Profile
@tjaensch
tjaensch / README.md
Last active February 23, 2019 21:29
D3 bubble chart using JSON response data from https://sciapps.colorado.edu
@tjaensch
tjaensch / README.md
Last active March 3, 2017 18:46
D3 pie chart using JSON response data from https://sciapps.colorado.edu

TO RUN D3 EXAMPLE LOCALLY

Navigate to project directory and run "python -m SimpleHTTPServer 8000" (Python version 2.*), then go to localhost:8000 (or replace 'localhost' with server IP address you're on)

TEST QUERY

Request address encoded: https://sciapps.colorado.edu/#/collections?%7B%22queries%22%3A%5B%7B%22type%22%3A%22queryText%22%2C%22value%22%3A%22space%22%7D%5D%2C%22filters%22%3A%5B%7B%22type%22%3A%22facet%22%2C%22name%22%3A%22locations%22%2C%22values%22%3A%5B%22Ocean%20%3E%20Pacific%20Ocean%20%3E%20North%20Pacific%20Ocean%20%3E%20Aleutian%20Islands%22%5D%7D%5D%2C%22facets%22%3Atrue%7D

Request address decoded:

@tjaensch
tjaensch / Number_of_Drug_and_Alcohol-Related_Intoxication_Deaths_by_County_of_Incident__2013.csv
Last active December 11, 2018 21:23
D3 Choropleth: State of Maryland Number of Drug and Alcohol-Related Intoxication Deaths by County of Incident 2013