Skip to content

Instantly share code, notes, and snippets.

View carlvlewis's full-sized avatar
🎯
Focusing

Carl V. Lewis carlvlewis

🎯
Focusing
View GitHub Profile
@carlvlewis
carlvlewis / README.md
Created February 14, 2019 13:15 — forked from cjrd/README.md
Interactive tool for creating directed graphs using d3.js.

directed-graph-creator

Interactive tool for creating directed graphs, created using d3.js.

Demo: http://bl.ocks.org/cjrd/6863459

Operation:

  • drag/scroll to translate/zoom the graph
@carlvlewis
carlvlewis / README.md
Created February 3, 2019 10:52 — forked from stevenae/README.md
Interactive Choropleth

This example shows how it is possible to use crossfilter bar charts (up to any number) to visually subset a choropleth. The map above shows the population and per-capita income growth of the US from 2011-2012.

@carlvlewis
carlvlewis / FRA_admin13.json
Created December 29, 2017 07:00 — forked from KatiRG/FRA_admin13.json
dc choropleth
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlvlewis
carlvlewis / FRA_admin13.json
Created December 29, 2017 07:00 — forked from KatiRG/FRA_admin13.json
dc choropleth
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carlvlewis
carlvlewis / 0_reuse_code.js
Created April 22, 2017 04:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@carlvlewis
carlvlewis / index.html
Created April 7, 2017 13:33 — forked from EE2dev/index.html
Visualizing meetup attendence with sequence explorer (3)
<!DOCTYPE html>
<meta charset="utf-8"> <!-- also save this file as unicode-8 ! -->
<head>
<link rel="stylesheet" type="text/css" href="http://www.ankerst.de/lib/sankeySeqExplorer_10.css">
<!--script src="../../../lib/d3_v4_2_1/d3.js"></script-->
<script src="http://d3js.org/d3.v4.min.js"></script>
<script src="http://www.ankerst.de/lib/sankeySeqExplorer_10.min.js"></script>
<script src="http://www.ankerst.de/lib/sankeySeq_10.min.js"></script>
<style>
@carlvlewis
carlvlewis / .block
Created March 7, 2017 08:21 — forked from nbremer/.block
Data based orientations in SVG Gradients - Final example - Avenger Movie Collaborations
height: 1000
@carlvlewis
carlvlewis / .gitignore
Created March 7, 2017 06:59 — forked from susielu/.gitignore
d3-annotation: Responsive Types and Hover
.DS_Store
@carlvlewis
carlvlewis / config.json
Created September 22, 2015 19:44 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#373737",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "#984ac1",
"@brand-success": "#5cb85c",
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Stripe Getting Started Form</title>
<!-- The required Stripe lib -->
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
<!-- jQuery is used only for this example; it isn't required to use Stripe -->