Skip to content

Instantly share code, notes, and snippets.

View maritrinez's full-sized avatar

Beatriz Martínez maritrinez

View GitHub Profile
@maritrinez
maritrinez / README.md
Created October 3, 2018 11:06
Canvas variable points bounded

Canvas points bounded inside / outside a circle. The points inside the circle have variable radius and opacity.

Based on Mike Bostock Circles. Canvas transition taken from this Bocoup's article

@maritrinez
maritrinez / .block
Created October 1, 2018 15:20
Canvas points bounded inisde / outside a circle
license: gpl-3.0
@maritrinez
maritrinez / .block
Last active September 25, 2018 14:37
canvas circles bounded
license: gpl-3.0
region country democ_index_sc democ_index_rk democ_index_reg_rk pluralism government_functioning political_participation political_culture civil_liberties regime media_freedom_sc media_freedom_rk media_freedom_status
North America Canada 9.15 6 1 9.58 9.64 7.78 8.75 10 Full democracy 10 1 fully free
North America United States 7.85 26 2 9.17 7.14 7.22 7.5 8.24 Flawed democracy 10 1 fully free
Western Europe Norway 9.87 1 1 10 9.64 10 10 9.71 Full democracy 9 11 fully free
Western Europe Iceland 9.58 2 2 10 9.29 8.89 10 9.71 Full democracy 10 1 fully free
Western Europe Sweden 9.39 3 3 9.58 9.64 8.33 10 9.41 Full democracy 10 1 fully free
Western Europe Denmark 9.22 5 4 10 9.29 8.33 9.38 9.12 Full democracy 10 1 fully free
Western Europe Ireland 9.15 6 5 9.58 7.86 8.33 10 10 Full democracy 10 1 fully free
Western Europe Finland 9.03 9 6 10 8.93 7.78 8.75 9.71 Full democracy 10 1 fully free
Western Europe Switzerland 9.03 9 6 9.58 9.29 7.78 9.38 9.12 Full democracy 9 11 fully free
@maritrinez
maritrinez / .block
Created November 21, 2017 15:29
Gooey Exploding Scatterplot
license: mit
@maritrinez
maritrinez / .block
Last active November 8, 2017 15:42
fresh block
license: mit
[
{"name":"Arte","group":1, "y": 1},
{"name":"Música","group":1, "y": 3},
{"name":"Etnoeducación","group":1, "y": 5},
{"name":"Cine y paisaje","group":2, "y": 1, "targets": [{"node": 0, "value": 20}]},
{"name":"Inicia (Encerazados)","group":2, "y": 2, "targets": [{"node": 0, "value": 20}, {"node": 1, "value": 10}, {"node": 2, "value": 30}]},
{"name":"Teatro","group":2, "y": 3, "targets": [{"node": 1, "value": 28}]},
{"name":"Talleres de Invierno","group":2, "y": 4, "targets": [{"node": 2, "value": 28}, {"node": 0, "value": 18}]},
{"name":"Talleres de Otoño","group":2, "y": 5, "targets": [{"node": 1, "value": 14}, {"node": 1, "value": 27}]},
{"name":"Talleres de Primavera","group":2, "y": 6, "targets": [{"node": 0, "value": 18}, {"node": 2, "value": 5}]},
@maritrinez
maritrinez / activities.json
Created May 25, 2017 16:51
Chart in table
{
"title": "Number of activities per type",
"breadcrumb": [
"Conferences and congresses",
"Internacionalization visitors"
],
"legend": {
"mobility": {
"color": "#A8DBA8",
"text": "Internacionalization mobility program"
@maritrinez
maritrinez / README.md
Last active May 25, 2017 17:13
Gooey scatterplot