Skip to content

Instantly share code, notes, and snippets.

View john-guerra's full-sized avatar

John Alexis Guerra Gómez john-guerra

View GitHub Profile
@john-guerra
john-guerra / facebook.py
Created December 16, 2011 19:03 — forked from rodbegbie/facebook.py
Hacked version of "official" (but now unsupported) Facebook Python SDK to support OAuth 2.0. Updated to use urllib2 and avoid problems with urlopen
#!/usr/bin/env python
#
# Copyright 2010 Facebook
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@john-guerra
john-guerra / .block
Last active July 12, 2023 06:58
Javascript Network Clustering Library
license: mit
@john-guerra
john-guerra / .block
Last active October 26, 2018 05:55
Force in a Box algorithm
license: mit
@john-guerra
john-guerra / README.md
Last active January 28, 2024 19:19 — forked from kristw/index.html
GeoJson map of Colombia

Geo Json map of Colombia

Based on the Map of Thailand by Master Krist Wongsuphasawat, a simple map of Colombia using GeoJSON and D3.js

As in Krist example:

  • Each province is color-coded by the length of its name in English.
  • Hover each province to see text effects.
  • New font is chosen randomly every time you change the province.
@john-guerra
john-guerra / README.md
Last active April 24, 2017 21:38
Colombia as a force directed network

Map of Colombia as a Force Network

Drawing Colombian Departamentos as a force directed network. This can be useful to represent national statistics that aren't biased by the size of the Departamentos. In this example the color of each departamento represents the length of it's name.

Colombia dibujada como una red. Esta visualización puede ser últil para representar estadísticas nacionales donde se le de igual importancia a cada Departamento, independiente de su tamaño.

@john-guerra
john-guerra / _.md
Last active August 29, 2015 14:27
color scales
@john-guerra
john-guerra / .block
Created July 21, 2016 00:56
US Grid Map
license: gpl-3.0
@john-guerra
john-guerra / .block
Last active July 21, 2016 01:50 — forked from mbostock/.block
World Tour
license: gpl-3.0
@john-guerra
john-guerra / .block
Last active July 21, 2016 02:23 — forked from mbostock/.block
Parallel Coordinates
license: gpl-3.0
@john-guerra
john-guerra / .block
Last active July 21, 2016 02:48 — forked from mbostock/.block
Horizon Chart
license: gpl-3.0