Skip to content

Instantly share code, notes, and snippets.

Víctor vpascual

Block or report user

Report or block vpascual

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View superstore.csv
We can't make this file beautiful and searchable because it's too large.
Id. de la fila,Id. del pedido,Fecha del pedido,Fecha de envío,Forma de envío,Id. del cliente,Nombre del cliente,Segmento,Ciudad,Estado,País,Región,Id. del producto,Categoría,Subcategoría,Nombre del producto,Total,Cantidad,Descuento,Ganancia
1682,MX-2018-111899,4/2/2018,4/6/2018,Estándar,AM-11365,Araceli Manzanares,Empresa,Cruzeiro do Sul,Acre,Brasil,Sur,MAT-AR-10004857,Material de oficina,Arte,"Boston Rotuladores, Tamaños variados",591,3,0,206.4
5919,MX-2018-113922,10/8/2018,10/11/2018,Rápido,BS-12130,Benjamín Saavedra,Cliente,Rio Branco,Acre,Brasil,Sur,MOB-LI-10000647,Mobiliario,Librerías,"Dania Conjunto de estantes, Metal",2250.8,2,0,922.8
5920,MX-2018-113922,10/8/2018,10/11/2018,Rápido,BS-12130,Benjamín Saavedra,Cliente,Rio Branco,Acre,Brasil,Sur,MAT-CA-10002956,Material de oficina,Carpetas,"Avery Anillas, Transparente",129,5,0,11
View subcategoria_horizon.csv
date subcategoria value
01/02/2018 Copiadoras -17.506304355
01/02/2018 Sillas -59.682895463
01/02/2018 Teléfonos -15.189498656
01/02/2018 Mesas -100
01/02/2018 Electrodomésticos -80.525449696
01/02/2018 Almacenamiento -36.661717307
01/02/2018 Accesorios -40.009873775
01/02/2018 Mobiliario -56.402907301
01/02/2018 Máquinas -100
View municipis_catalunya_idescat.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Codi;Nom;Codi comarca;Nom comarca;
250019;Abella de la Conca;25;Pallars Jussà;
080018;Abrera;11;Baix Llobregat;
080023;Aguilar de Segarra;07;Bages;
170010;Agullana;02;Alt Empordà;
080142;Aiguafreda;41;Vallès Oriental;
430017;Aiguamúrcia;01;Alt Camp;
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Series Visualization by @vpascual</title>
<link rel="stylesheet" href="//">
<style type="text/css">
body {
font-family: "Avenir" !important;
font-size: 12px;
vpascual / .block
Created Feb 28, 2018
Barchart with SVG
View .block
license: mit
vpascual / .block
Last active Feb 28, 2018
D3 basic barchart with divs
View .block
license: mit
vpascual / .block
Last active Feb 28, 2018
Basic D3 page template
View .block
license: mit
vpascual / .block
Last active Feb 27, 2018
Vega-Lite Bl.ocks example
View .block
license: mit
vpascual / .blocks
Last active Feb 26, 2017
SVG circles on mouse position fading away
View .blocks
license: gpl-3.0
vpascual /
Created Mar 24, 2016
This little function gets a text in UTF-8 and returns the same string without accents. It is useful for comparing texts
def remove_accents(text):
return unicodedata.normalize('NFKD', unicode(text, 'utf-8')).encode('ASCII', 'ignore')
You can’t perform that action at this time.