PlotSet LogoPlotSet

How to Create a Grouped Column Chart

A step by step walkthrough for turning a spreadsheet with two to four series into a published grouped column chart in PlotSet, from shaping the sheet to exporting or embedding it.

Unos 8 minutos

Here's how to create a grouped column chart in PlotSet, starting from a spreadsheet with one row per category and one column per series, and ending with something you can embed or export. You will upload something like quarterly revenue split by product line or headcount split by department, confirm PlotSet mapped every series column, then fix the group order and colors before publishing.

If your sheet is already wide (one category column, then a column per series), this takes about eight minutes. Add five more if you are reshaping a long format export first: pivoting a date/series/value table into one row per period, or renaming headers so the legend reads cleanly.

Los datos que necesitas

Wide format, one row per category and one column per series. The category (quarter, region, channel) goes first; every column after it is a series, and its header becomes the legend label.

CSV de ejemplo
QuarterHardwareSoftwareServices
Q1 2024420006800021000
Q2 2024455007100023500
Q3 2024510007650026000
Q4 2024585008400029500
Notas

This is wide format, not long format. If your export instead has three columns (period, series name, value) with one row per combination, pivot it in your spreadsheet tool first so each series gets its own column.

The header of each series column becomes its legend label and its name in the hover tooltip, so write it the way you want readers to see it: "Software" not "software_rev".

Two series is comfortable and four is about the ceiling before columns get too thin to read. A fifth series is usually a sign the data wants a small multiple instead.

A blank cell in a series column renders as a missing column in that group, not zero. Decide on purpose whether a gap should read as zero or as no data, and fill or leave it accordingly.

Los pasos

El camino exacto en PlotSet, desde una plantilla en blanco hasta el gráfico terminado.

  1. 01

    Start a new project from the Grouped Column Chart template

    From the PlotSet dashboard, start a new project and choose the Grouped Column Chart template. It loads with sample data already bound, so you can see exactly how the first column becomes the category axis and the rest become series before you touch your own file.

    El selector de plantillas de PlotSet: las categorías de gráficos en la columna izquierda, la cuadrícula Bar Charts abierta y la tarjeta de la plantilla Bar Chart con su botón Select visible.
    Todas las guías empiezan aquí. Elige la categoría y luego la plantilla. Es la misma cuadrícula sea cual sea el tipo de gráfico que busques.
  2. 02

    Shape your sheet wide, one row per category

    Put the category in the first column and one series per remaining column, with the series name as the header. If your source is a long format export with a series column and a value column, pivot it in your spreadsheet first: this chart needs series side by side, not stacked as rows.

  3. 03

    Upload your file or connect a sheet

    Use the data panel to import a CSV or .xlsx file, paste rows directly from a spreadsheet, or connect a Google Sheet if you want the chart to refresh when the source changes. PlotSet reads the first row as headers automatically.

    La vista de datos del editor de PlotSet: una hoja de cálculo con las columnas Name, Value y Region llenas de cifras de provincias canadienses, junto al panel Data, que ofrece subida de CSV, Magic Import y sincronización con Google Sheet.
    La vista de datos, aquí en un proyecto de gráfico de barras. Sube un CSV, saca los números de una imagen con Magic Import o sincroniza una Google Sheet. El panel es el mismo en todos los tipos de gráfico.
  4. 04

    Check the value binding covers every series

    The category slot takes the first column; the value slot takes a range, not a single column, for example B through D for three series. If a series is missing from the chart, this range is the first place to check, it is the most common reason a column just does not show up.

    El panel de datos de PlotSet con las asignaciones de columnas resaltadas: Label/time apuntando a la columna A, Values a la columna B y Filter/color a la columna C, con el botón Auto Binding debajo.
    Las asignaciones deciden qué columna se convierte en la etiqueta, cuál aporta los valores y cuál define el color. Auto Binding las deduce de tus encabezados, así que revísalas en lugar de darlas por buenas.
  5. 05

    Fix the category order

    Sort chronologically if your categories are periods, or by whatever series matters most otherwise. Alphabetical order is rarely the right read for a grouped column chart, and PlotSet will not reorder categories for you once they are mapped.

  6. 06

    Set the group gap wider than the column gap

    The space between categories needs to look clearly wider than the space between columns inside one category, or the groups stop reading as groups. If every column looks evenly spaced, open the layout settings and widen the group gap.

  7. 07

    Fix series colors and add value labels

    Assign one color per series and keep that assignment if you reuse the same series elsewhere in your report. Turn on value labels if the exact numbers matter more than the shape, and keep the value axis starting at zero either way.

    El editor de PlotSet en la pestaña Preview: un gráfico de tipo Grouped Column Chart ya terminado en el lienzo y, a la derecha, el panel de ajustes rodeado por un recuadro rojo.
    La pestaña Preview de un gráfico de tipo Grouped Column Chart. Todos los controles de estilo están en el panel enmarcado: apariencia, encabezado, pie de página y las opciones propias de este tipo de gráfico, cada grupo en su propia pestaña.
  8. 08

    Publish it, or grab the embed code

    Publish for a live, interactive chart with hover tooltips and a shareable link, grab the embed code to drop it into a page, or export a PNG, SVG or PDF if you need a static image for a deck or a report.

Empieza con la plantilla de Grouped Column Chart, que ya trae datos de ejemplo cargados, y sustitúyelos por los tuyos.

Abrir la plantilla

Publícalo, incrústalo o expórtalo

El último tramo es igual en todos los tipos de gráfico: Share convierte el gráfico en un enlace público en vivo y un código de incrustación, y Export lo guarda como un archivo estático.

Share: enlace público y código de incrustación

Al activar el código de incrustación y el enlace público, el gráfico queda publicado. El enlace se lo puedes enviar a cualquiera sin problema, y el código de incrustación se coloca en cualquier página como un iframe que conserva los tooltips al pasar el cursor y toda la interactividad. Si editas el gráfico más adelante, haz clic en Recreate para llevar esos cambios a ambos.

La barra de herramientas del editor de PlotSet con el botón Share resaltado, justo al lado del botón Export.
Share es lo que convierte un gráfico terminado en un enlace público y un código de incrustación.
El diálogo Share de PlotSet: el interruptor que activa el código de incrustación y el enlace público, los botones Link, Embed, Facebook, Reddit, Twitter, LinkedIn y Email, y el enlace público del gráfico con un botón Copy.
Activa el código de incrustación y el enlace público, y después copia el enlace o llévate el iframe. Recreate envía las ediciones posteriores a todos los que ya lo tengan.

Export: SVG, PNG o JPG

Export guarda una copia estática en el tamaño que necesites. El SVG se mantiene nítido a cualquier escala y se puede seguir editando en una herramienta de diseño; PNG y JPG son la opción segura para diapositivas y documentos. El multiplicador de escala es lo que te da una imagen nítida en una pantalla retina.

La barra de herramientas del editor de PlotSet con el botón Export resaltado.
Export es el camino hacia un archivo estático para una diapositiva o un informe.
El diálogo Export chart de PlotSet: un selector de escala en 2x, los campos de ancho y alto fijados en 1000 por 600, y el menú de formato abierto con SVG, PNG y JPG.
El SVG se mantiene nítido a cualquier tamaño y se puede seguir editando en una herramienta de diseño; PNG y JPG son la apuesta segura para una presentación. Ajusta la escala antes de exportar para que la imagen se vea nítida en una pantalla retina.

Consejos de estilo para un Grouped Column Chart

Cap it at four series

Two series is the easy case and three is fine. At four, columns are already narrow; a fifth pushes each group into a picket fence nobody can compare accurately. Split into small multiples (one panel per series, shared axis) instead of adding a fifth color.

Lock colors to series, not to position

If "Software" is teal in Q1, keep it teal in every quarter and in every other chart in the same report. Readers learn the color once and reuse that memory; changing it mid-report forces them to check the legend every time.

Sort categories on purpose

Time periods sort chronologically. Anything else (regions, channels, products) should sort by the series that matters most for the story, largest to smallest, not alphabetically. Alphabetical order is a default, not a decision.

Keep the value axis at zero

Column height is the encoding here, the same as a single-series column chart. A truncated axis exaggerates every gap between series, which matters more in a grouped chart because readers are already comparing several bars against each other at once.

Errores comunes al hacer un Grouped Column Chart

One series never shows up in the chart

This almost always means the value binding is a single column instead of a range. Open the data mapping, check that the range covers every series column (B through D for three series, not just B), and re-check after adding a new series later.

Columns inside a group look merged into one block

The group gap and the column gap are set to roughly the same width, so the eye cannot tell where one category ends and the next begins. Widen the group gap in the layout settings until there is a clear visual break between categories.

The same series shows a different color in each category

This happens when column order in the source sheet does not match between an old upload and a new one, so PlotSet assigns colors by position rather than by the header you expect. Re-check the column order in your spreadsheet matches the series legend, then reassign colors if needed.

Aprende más sobre el Grouped Column Chart

¿No estás seguro de que el Grouped Column Chart sea la opción correcta? Descubre qué es, cuándo usarlo y cuándo no.

Sobre el Grouped Column Chart

Grouped Column Chart: preguntas frecuentes

Same data, different orientation. Grouped columns stand vertically and suit short category labels or a time axis; grouped bars lie horizontally and suit long category names or many categories. Build the sheet the same way for either one.

Crea tu Grouped Column Chart ahora

Gratis para empezar con más de 300 plantillas. No se necesita tarjeta de crédito.