Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Carl V. Lewis carlvlewis

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

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 Feb 3, 2019 — forked from stevenae/README.md
Interactive Choropleth
View README.md

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.

View FRA_admin13.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View FRA_admin13.json
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 Apr 22, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// 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 Apr 7, 2017 — forked from EE2dev/index.html
Visualizing meetup attendence with sequence explorer (3)
View index.html
<!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 Mar 7, 2017 — forked from nbremer/.block
Data based orientations in SVG Gradients - Final example - Avenger Movie Collaborations
View .block
height: 1000
@carlvlewis
carlvlewis / .gitignore
Created Mar 7, 2017 — forked from susielu/.gitignore
d3-annotation: Responsive Types and Hover
@carlvlewis
carlvlewis / config.json
Created Sep 22, 2015 — forked from anonymous/config.json
Bootstrap Customizer Config
View config.json
{
"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",
View StripeTutorialPage.html
<!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 -->
You can’t perform that action at this time.