Bar chart race CSV formatFormato CSV para un bar chart race
The layout, the column names that are recognised, and the two mistakes that make a finished chart look wrong.La estructura, los nombres de columna que se reconocen, y los dos errores que hacen que un gráfico terminado se vea mal.
The basic shapeLa forma básica
A bar chart race needs a wide table: one row per competitor, one column per point in time. The first column carries the name; every column whose heading looks like a year, a season or a date is read as a point on the timeline.Un bar chart race necesita una tabla ancha: una fila por competidor, una columna por punto en el tiempo. La primera columna lleva el nombre; toda columna cuyo encabezado parezca un año, una temporada o una fecha se lee como un punto de la línea de tiempo.
Nation,ISO2,1924,1928,1932,1936
United States,us,1,2,4,4
Norway,no,,3,5,6
Austria,at,3,3,3,4
Headings that count as time: a plain year (1924), a season (1992-93, 2025/26), or a date (2026-03-01, 01/03/2026). Everything else is treated as a property of the competitor.Encabezados que cuentan como tiempo: un año simple (1924), una temporada (1992-93, 2025/26), o una fecha (2026-03-01, 01/03/2026). Todo lo demás se trata como una propiedad del competidor.
The optional columnsLas columnas opcionales
| RoleRol | Call the columnLlamá a la columna | What it doesQué hace |
|---|---|---|
| NameNombre | Name, Nation, Country, Team, Club, Company, PlayerName, Nation, Country, Team, Club, Company, Player | The label on the barLa etiqueta de la barra |
| Flag codeCódigo de bandera | ISO2, ISO, Code, Country CodeISO2, ISO, Code, Country Code | Draws a bundled round flagDibuja una bandera circular incluida |
| PictureImagen | Image, Logo, Badge, Crest, Photo, IconImage, Logo, Badge, Crest, Photo, Icon | A web address, drawn on the barUna dirección web, dibujada en la barra |
| GroupGrupo | Region, Continent, Group, Category, LeagueRegion, Continent, Group, Category, League | Colours the bars and fills the legendColorea las barras y arma la leyenda |
| Short nameNombre corto | Short, Abbr, AbbreviationShort, Abbr, Abbreviation | Used in the vertical cut onlySólo en el corte vertical |
Matching is case-insensitive and none of these are required — a file with nothing but a name column and some years works. If a column is not recognised, the app says so: View data lists every role it looked for, which heading answered to it, and which found nothing.La coincidencia no distingue mayúsculas y ninguna es obligatoria: un archivo con sólo una columna de nombre y algunos años funciona. Si una columna no se reconoce, la app te lo dice: View data lista cada rol que buscó, qué encabezado respondió, y cuáles no encontraron nada.
Mistake one: zeros where there is no readingError uno: ceros donde no hay dato
A zero is a statement — it says this competitor was in the race and had none. A blank says it was not in the race yet. If you fill your blanks with zeros, every future competitor sits on the baseline from the first frame, and a chart that should start with three bars starts with forty.Un cero es una afirmación: dice que este competidor estaba en la carrera y no tenía nada. Un vacío dice que todavía no estaba en la carrera. Si llenás los vacíos con ceros, cada competidor futuro queda apoyado en la base desde el primer cuadro, y un gráfico que debería empezar con tres barras empieza con cuarenta.
Mistake two: the wrong kind of numberError dos: el tipo de número equivocado
Decide whether your column is a running total or a per-period figure. Medals won in total by 1936 and medals won during 1936 are different charts. In a spreadsheet a running total is one SUM away.Decidí si tu columna es un total acumulado o una cifra por período. Medallas ganadas en total hasta 1936 y medallas ganadas durante 1936 son gráficos distintos. En una planilla, un acumulado está a un SUMA de distancia.
What the reader copes with on its ownCon qué se arregla solo el lector
- Commas, semicolons, tabs or pipes as the separator — detected, not asked about.Comas, punto y coma, tabulaciones o barras como separador: se detecta, no se pregunta.
- Quoted fields containing commas:
"Korea, Republic of".Campos entre comillas que contienen comas:"Korea, Republic of". - Both thousands conventions, guessed per cell:
1,234.56and1.234,56.Las dos convenciones de miles, adivinadas celda por celda:1,234.56y1.234,56. - Currency symbols, per-cent signs and spaces used as group markers.Símbolos de moneda, signos de porcentaje y espacios usados como separadores.
- Accounting parentheses for negatives:
(1200).Paréntesis contables para negativos:(1200). n/a,NA,nulland-as “no reading”.n/a,NA,nully-como “sin dato”.- Windows line endings and Excel’s byte order mark.Saltos de línea de Windows y la marca de orden de bytes de Excel.
How many rows can it take?¿Cuántas filas soporta?
As many as you like. On import, a row is kept if it reaches the top at any single point in time — a few places deeper than the bars on screen — and the rest are dropped with a note saying how many. That keeps every overtake while sparing the render two hundred competitors who were never in shot.Las que quieras. Al importar, una fila se conserva si llega al tope en cualquier punto del tiempo — unos puestos más abajo de las barras en pantalla — y el resto se descarta con un aviso de cuántas fueron. Así se conservan todos los sobrepasos sin hacerle renderizar doscientos competidores que nunca entraron en cuadro.
QuestionsPreguntas
Can I use dates instead of years?¿Puedo usar fechas en vez de años?
Yes. Dates in yyyy-MM-dd, dd/MM/yyyy, MM/dd/yyyy and yyyy-MM are all recognised, as are seasons like 2025/26.Sí. Fechas en yyyy-MM-dd, dd/MM/yyyy, MM/dd/yyyy y yyyy-MM se reconocen todas, y las temporadas tipo 2025/26 también.
Does the first column have to be called Name?¿La primera columna tiene que llamarse Name?
No. If no column announces itself, the first column that is not a point in time is taken as the name.No. Si ninguna columna se anuncia, se toma como nombre la primera que no sea un punto en el tiempo.
Make one from your own dataHacé uno con tus propios datos
A native Mac app. Free to download, free to export at full resolution, one payment to remove the mark.Una app nativa de Mac. Gratis para bajar, gratis para exportar a resolución completa, un pago para sacar la marca.
Download on the Mac App StoreDescargar en la Mac App Store