Skip to content

Instantly share code, notes, and snippets.

View jwildfire's full-sized avatar

Jeremy Wildfire jwildfire

  • Gilead
View GitHub Profile
@jwildfire
jwildfire / README.md
Last active June 10, 2016 14:33
Baseball Statistics Histogram - Webcharts-templates

This chart shows the distribution of various batting statistics from the 2012 baseball season. At Bats are shown by default, but you can update the chart to show other statistics using the dropdown. The chart was created using webcharts and the add-on webcharts-templates library and the histogram template can easily be applied to other data sources.

@jwildfire
jwildfire / README.md
Last active October 2, 2015 11:23
Baseball Statistics Histogram II - Webcharts-templates

This chart shows the distribution of various batting statistics from the 2012 baseball season. At Bats are shown by default, but you can update the chart to show other statistics using the dropdown and filter by team and position. The chart was created using webcharts and the add-on webcharts-templates library and the histogram template can easily be applied to other data sources.

@jwildfire
jwildfire / README.md
Last active October 2, 2015 11:19
Baseball Statistics Histogram III - Webcharts-templates

This chart shows the distribution of various batting statistics from the 2012 baseball season. At Bats are shown by default, but you can update the chart to show other statistics using the dropdown, and you can click on a bar to create a listing of the associated players. The chart was created using webcharts and the add-on webcharts-templates library and the histogram template can easily be applied to other data sources.

@jwildfire
jwildfire / index.html
Last active December 7, 2015 02:38
D3 Formatting Example
<html>
<head>
<link href="https://rawgithub.com/palantir/plottable/develop/plottable.css" rel="stylesheet"/>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://rawgithub.com/palantir/plottable/develop/plottable.js"></script>
</head>
<body>
<div id="container">
<svg id="chart" width="350" height="350"></svg>
</div>
@jwildfire
jwildfire / index.html
Last active February 26, 2016 18:50
Population Explorer - Simple Example with Mock Data
<html lang="en">
<title>Population Explorer - Simple Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/2.3.1/js/bootstrap.min.js"></script>
<script src="https://cdn.rawgit.com/RhoInc/PopulationExplorer/master/populationExplorer.js"></script>
<script src="https://cdn.rawgit.com/RhoInc/PopulationExplorer/master/basicTable.js"></script>
@jwildfire
jwildfire / README.md
Last active March 25, 2016 14:45
Webcharts - Sample Dashboard

This study monitoring dashboard shows common study metrics such as enrollment status, visit completion, and specimen and case report form status. The figure combines 6 different chart objects, several of which have attached controls allowing users to filter by site and change the y-axis from a relative value to an absolute count. A simple callback function is used in the top left chart to customize the legend with overall counts and provide details for the y-axis in a tooltip.

This graphic was created using webcharts version 1.4.0

@jwildfire
jwildfire / ADIG2.csv
Last active March 25, 2016 13:28
LEAP Immunologic Outcome Explorer
We can't make this file beautiful and searchable because it's too large.
Subject ID,Intent to Treat Sample,LEAP-On Per Protocol,Age (months),Sex (char),Primary Ethnicity,LEAP Treatment Group,Primary Outcome LEAP,Stratum (char),As Treated Population,LEAP Per Protocol,Primary Outcome LEAP-On,Visit Number,Peanut-specific IgE (log 10),"Peanut-specific IgG4 Result (log 10)","Peanut-specific IgG Result (log 10)",IgG4/IgE Ratio (log 10),IgG/IgE Ratio (log 10),ARAH1 (log 10),ARAH2 (log 10),ARAH3 (log 10),ARAH8 (log 10),ARAH9 (log 10),Peanut Wheal (mm),Current SCORAD,peanutIgEbase,peanutIgEbasefactor,peanutIgEbasecat,peanutIgE60,peanutIgE60factor,peanutIgE60cat,peanutIgE72,peanutIgE72factor,peanutIgE72cat
1001,Yes,Yes,10.45,Female,White,Peanut Avoidance,PASS OFC,SPT-negative Stratum,Peanut Avoidance,Yes,PASS OFC,-1,-2,1.84509804,3.5289167,3.464886798,5.148705459,,,,,,0,7.8,-2,"[-2.000,-1.000)",0-<0.1 kU/liter,-1.397940009,"[-2.000,-1.000)",0-<0.1 kU/liter,-1.301029996,"[-2.000,-1.000)",0-<0.1 kU/liter
1001,Yes,Yes,10.45,Female,White,Peanut Avoidance,PASS OFC,SPT-negative Stratum,Peanut Avo
@jwildfire
jwildfire / LICENSE.md
Last active July 12, 2016 15:02
Adverse Event Timeline - Example

The MIT License (MIT) Copyright (c) 2016 Rho Inc.

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT

@jwildfire
jwildfire / LICENSE.md
Last active January 10, 2017 15:48
Safety Histogram

The MIT License (MIT) Copyright (c) 2016 Rho Inc.

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT

@jwildfire
jwildfire / LICENSE.md
Last active June 14, 2016 17:51
Safety Outlier Explorer - Example

The MIT License (MIT) Copyright (c) 2016 Rho Inc.

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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT