Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Smoothed D3.js Radar Chart</title>
<!-- Google fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
@eli-s-goldberg
eli-s-goldberg / gmaps__plot.py
Created March 15, 2017 01:33
This is a helper file for my update to gmplot to work with the latest version of Google's Java API.
# use manual setup.py for gmplot: https://github.com/eli-s-goldberg/gmplot
import gmplot
import pandas as pd
import numpy as np
def geocode_address(row):
"""
combine multiple rows text data for import into GoogleMapPlotter.geocode(address).
:param row: dataframe row
@eli-s-goldberg
eli-s-goldberg / index.html
Created March 24, 2017 22:51
Live ENM Data for JoVE journal
<!DOCTYPE html>
<meta charset="utf-8">
<title>Goldberg et al,. 2016 - ENM Transport Database</title>
<style>
svg {
font: 10px sans-serif;
font-weight: bold;
}
.foreground path {
@eli-s-goldberg
eli-s-goldberg / index.html
Created November 10, 2015 15:47
Color Sankey based on some examples to illustrate ENM data gaps.
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<link rel='stylesheet' href='http://timelyportfolio.github.io/rCharts_d3_sankey//css/sankey.css'>
<script src='http://timelyportfolio.github.io/rCharts_d3_sankey//js/d3.v3.js' type='text/javascript'></script>
<script src='http://timelyportfolio.github.io/rCharts_d3_sankey//js/sankey.js' type='text/javascript'></script>
<style>