Skip to content

Instantly share code, notes, and snippets.

@fhoffa
fhoffa / top_reddit_words.md
Last active May 19, 2026 01:02
The top 5 words for the top subreddits

The top 5 words for the top subreddits:

subr words
pics hell,minutes,hospital,build,backyard
funny soon,wanted,dads,photos,sums
videos better,change,plane,simple,curiosity
politics subject,democrat,democracy,basis,google
technology streaming,snowden,fast,edward,sued
@rveciana
rveciana / README.md
Last active December 20, 2015 20:49
Flag map with D3js - SVG

This example belongs to the GeoExamples blog entry Flag map with D3js.

Basically, gets the flag images from the Wikipedia by using Mike Bostock's queue.js library and adds them to the map.

The zone represented in the map

The region represented in the map is marked in red.

This version uses SVG.

@rveciana
rveciana / README.md
Last active December 20, 2015 20:48
Flag map with D3js

This example belongs to the GeoExamples blog entry Flag map with D3js.

Basically, gets the flag images from the Wikipedia by using Mike Bostock's queue.js library and adds them to the map.

The zone represented in the map

The region represented in the map is marked in red.

In this case, everything is drawn using the Canvas element.

@weiglemc
weiglemc / .block
Last active January 15, 2019 19:39
D3 Scatterplot Example
license: mit
@d3noob
d3noob / .block
Last active August 30, 2022 17:09
Earthquake Data Discovery using dc.js, crossfilter, d3.js and bootstrap
license: mit
@campeterson
campeterson / data-sets.md
Last active November 13, 2024 12:01
Data sets
@mbostock
mbostock / .block
Last active February 9, 2016 02:03 — forked from mbostock/.block
Projected Choropleth
license: gpl-3.0
@mbostock
mbostock / .block
Last active September 12, 2016 16:52
Snowden’s Route
license: gpl-3.0
@igrigorik
igrigorik / drive-appscript.js
Last active September 13, 2024 07:27
Sample BigQuery queries for the HTTP Archive dataset.
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var menuEntries = [ {name: "Run Query", functionName: "runQuery"} ];
ss.addMenu("HTTP Archive + BigQuery", menuEntries);
}
function runQuery() {
var projectNumber = 'httparchive';
var sheet = SpreadsheetApp.getActiveSheet();
@mbostock
mbostock / .block
Last active November 23, 2025 10:02
Every ColorBrewer Scale
license: gpl-3.0
redirect: https://observablehq.com/@d3/d3-color-schemes