Skip to content

Instantly share code, notes, and snippets.

View lucguillemot's full-sized avatar

Luc Guillemot lucguillemot

View GitHub Profile
@lucguillemot
lucguillemot / BACounties_SF.geojson
Last active August 29, 2015 14:15
Categorized points map
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucguillemot
lucguillemot / README.md
Last active August 29, 2015 14:15
Animated map with proportional symbols (D3js + JQueryUI)

Interactive map with proportional circles.

The base map is a TOPOjson cartogram. The proportional circles are drawn with D3 and animated with JQueryUI.

The TOR network

This is a dynamic world map showing the number of connections to the TOR network by country from June 2008 to June 2013 on a 2010 population cartogram. Data are from TOR Metrics.

@lucguillemot
lucguillemot / README.md
Last active November 23, 2015 21:20
D3 Choropleth map using a continuous L*a*b* color scale.

Choropleth map using a continuous color scale. The colors are interpolated using the L*a*b color space. The map shows the outcome of San Francisco ballot proposition I (Nov. 2015)

@lucguillemot
lucguillemot / README.md
Last active November 24, 2015 00:41
Choropleth map with diverging color scale.
@lucguillemot
lucguillemot / BACounties_SF.geojson
Last active November 24, 2015 17:52
Map with proportional circles
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucguillemot
lucguillemot / README.md
Last active May 16, 2016 22:40
Horizontal stacked bar chart
@lucguillemot
lucguillemot / README.md
Last active July 20, 2016 23:31
L*a*b* color space

The L*a*b* color space with a range of ±100 for a* and b* values and a value of 60 for Lightness.

@lucguillemot
lucguillemot / README.md
Last active September 18, 2016 17:43
Scatterplot using two ordinal scales

This is a scatterplot using two ordinal scales and the RangePoints() function, with data showing the country of origin of films in competition at the Cannes film festival since 2006.

@lucguillemot
lucguillemot / .block
Created February 28, 2017 07:35
fresh block
license: mit
import * as React from "react";
import * as vega from "vega";
export const Chart = ({ spec, handleClick }) => {
const chartContainer = React.useRef();
React.useEffect(() => {
const createView = async () => {
try {
const view = new vega.View(vega.parse(spec), {
logLevel: vega.Warn,