Skip to content

Instantly share code, notes, and snippets.

View ilyabo's full-sized avatar

Ilya Boyandin ilyabo

View GitHub Profile
@ilyabo
ilyabo / index.html
Created March 10, 2024 19:35
duckdb-wasm conversion errors not thrown
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<script>
const getDb = async () => {
@ilyabo
ilyabo / edges.sql
Last active December 17, 2022 00:23
Les miserables
select
source , target,
value/5 as width
from lesmiserables_edges
@ilyabo
ilyabo / FLOWMAPBLUE_APPLICATION.md
Last active March 12, 2022 13:26
OpenJS-Foundation FlowmapBlue application

FlowmapBlue

Applicant

Ilya Boyandin

Description

FlowmapBlue is a geographic data visualization tool for representing aggregated numbers of movements between locations as flow maps. It is used to visualize urban mobility, commuting behavior, bus, subway and air travels, bicycle sharing, human and bird migration, refugee flows, marine traffic, freight transportation, trade, supply chains, scientific collaborations, epidemiological and historical data and data on many other topics.

@ilyabo
ilyabo / flows.csv
Created December 23, 2021 15:25
BIXI rides 2019-10
We can't make this file beautiful and searchable because it's too large.
origin,dest,count
7018,6120,6
6063,6111,4
6153,6315,1
6913,6251,9
6036,7049,5
6042,6424,2
6129,6014,4
6411,6066,5
6175,6143,19
@ilyabo
ilyabo / flows.csv
Last active March 28, 2023 10:29
flowmap.blue - Relocations between Swiss cantons in 2016
origin dest count
ZH ZH 66855
ZH BE 1673
ZH LU 1017
ZH UR 84
ZH SZ 1704
ZH OW 70
ZH NW 94
ZH GL 250
ZH ZG 1246
@ilyabo
ilyabo / index.html
Created March 14, 2019 16:04
US census tracts
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Display a map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@ilyabo
ilyabo / _.md
Last active August 29, 2015 14:14
d3 selection filtering
@ilyabo
ilyabo / README.md
Created December 20, 2012 10:20
Briesemeister projection

Jacques Bertin mentions Briesemeister projection in "Semiology of graphics" as one of a few projections which give good general representations of the world. Most of the deformations are in the oceans and the continents are grouped closely together. It is thoroughly described in the book "Flattening the Earth: Two Thousand Years of Map Projections" by John P. Snyder (page 239).

@ilyabo
ilyabo / index.html
Created May 3, 2012 12:08
D3 Dorling cartogram with rectangular states
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Dorling Cartogram</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style>
#chart {
width: 960px;
height: 470px;
@ilyabo
ilyabo / index.html
Created March 26, 2012 19:57
Flows of refugees between the world countries in 2008
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style type="text/css">
svg {
border:1px solid gray
}
#countries path {