A MapMarker widget for Google Maps API markers. Transitions are smooth even while zooming.
Output of the schema extraction process.
Demonstrates the relationship between rectangles and their enclosing quadtree blocks, for a loose quadtree with variable size and expansion factor.
Shows multiple overlaid Voronoi diagrams, given multiple point sets.
name | cnt | minpop | maxpop
--------------+-----+--------+--------
Franklin | 32 | 92 | 62487
Fairview | 30 | 60 | 13835
Clinton | 28 | 41 | 99753
Salem | 27 | 91 | 154637
Madison | 25 | 204 | 233209
Greenville | 24 | 75 | 84554
Georgetown | 24 | 124 | 47400
Marion | 24 | 133 | 36837
'use strict'; | |
var x_range = [1, 32], | |
y_range = [0, x_range[1]]; | |
var margin = {top: 30, bottom: 60, left:110, right: 10}, | |
base_width = 960, | |
base_height = 470, | |
width = base_width - margin.left - margin.right, | |
height = base_height - margin.top - margin.bottom; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> | |
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script> | |
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script> | |
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' /> |
Testing out the Lab color space.
Each square represents a cross-section of the Lab color space with a different lightness value (from 5 to 100). The a and b values vary along the x and y dimensions, respectively (from -100 to 100).
These ranges capture most of the L, a, b combinations that map to valid RGB values (between 0 and 255).
sample-data/ |
A fork of Mike Bostock's Geographic Projection Example. Uses the path.area method of d3.geo.path() to compute the projected area (in pixels) of each country.
These projections are available in the geo.projection plugin.