The fourth of a series of data visualizations on basic coding concepts. When you declare a variable, the next step is to assign it data!
The second of a series of data visualizations on basic coding concepts. The if...else statement seeks to bin by colors!
The fifth of a series of data visualizations on basic coding concepts. When you append or push data to a list, all you do is add it to the last position!
The sixth of a series of data visualizations on basic coding concepts. A is a matrix of rows(i) and columns (j). Use indexing to select elements of the matrix!
The seventh of a series of data visualizations on basic coding concepts. Dictionaries are a very helpful data structure for storing hierarchical relationships. Get data from the team that is two layers into the dictionary called NCAA!
<canvas id="canvas"></canvas> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var num = 3000; | |
var canvas = document.getElementById("canvas"); | |
var width = canvas.width = 2000; | |
var height = canvas.height = 1200; | |
var ctx = canvas.getContext("2d"); | |
ctx.scale(2, 2); | |
var angle = 1*Math.PI/180; // down |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<style> | |
.land { | |
fill: #eee; | |
stroke: #777777; | |
} | |
circle { |
Use this to showcase state-level information by clicking on a state.
My first pass at showing time series data on Google Maps.
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.link line { | |
stroke: #696969; | |
} | |
.link { | |
stroke: #696969; | |
} |