PlotSet LogoPlotSet

How to Create a Column Chart

A step by step walkthrough for turning a spreadsheet into a published column chart in PlotSet, from ordering the rows to exporting or embedding the finished chart.

Cerca de 7 minutos

Categories in the order you want them, a value axis that starts at zero: how to create a column chart in PlotSet covers exactly that, styled on purpose and either embedded on a page or exported as an image. Not a copy of someone else's demo, your own periods and your own numbers, going through the same click path a real PlotSet chart takes from upload to publish.

If your spreadsheet is already two columns, category and value, with the rows already in the order you want to see, this takes about five minutes. Add a couple more if you're dealing with dates that keep auto-converting into something else, or a totals row you need to strip out first. Budget the seven minutes below and treat the rest as a buffer.

Os dados que você precisa

Two columns, one row per category: the category label first, usually a time period, and the number second. Rows should already sit in the order you want the columns to appear, since PlotSet reads them top to bottom.

CSV de exemplo
QuarterRevenue
Q1 2023182400
Q2 2023205100
Q3 2023198750
Q4 2023241300
Q1 2024229600
Q2 2024256900
Anotações

Keep the category column as plain text, not a date. If a spreadsheet auto-converts "Q1 2023" into a date serial number, PlotSet charts that serial number, not the label you typed.

Row order is chart order. PlotSet lists categories top to bottom exactly as they sit in your sheet, so put Q1 2023 above Q2 2023 rather than relying on a sort step afterward.

One number per category. Comparing this year against last year in the same chart needs an extra column and a grouped or stacked column chart, not this one.

Delete any totals row before uploading. A "Total 2023" row becomes a column of its own, usually the tallest, and breaks the chronological order of everything after it.

Os passos

O caminho exato no PlotSet, de um modelo em branco até o gráfico finalizado.

  1. 01

    Open the column chart template

    From the PlotSet dashboard, start a new project and pick the Column Chart template. It loads with sample data already in place so you can see the exact layout, category then value, before you bring your own sheet.

    O seletor de modelos do PlotSet: as categorias de gráficos listadas à esquerda, a grade Bar Charts aberta e o card do modelo Bar Chart mostrando o botão Select.
    Todo guia começa aqui. Escolha a categoria e depois o modelo: a grade é a mesma, seja qual for o tipo de gráfico que você quer.
  2. 02

    Shape your sheet into two columns, in order

    Put the category label in the first column and its number in the second, one row per category, arranged in the order you want the columns to appear. For time periods, that means Q1 sitting above Q2 in the sheet itself, not sorted after upload.

  3. 03

    Bring in the file or connect a sheet

    Use the data panel to import a CSV or .xlsx file, paste rows straight 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.

    A visualização de dados do editor do PlotSet: uma planilha com as colunas Name, Value e Region preenchidas com números de províncias canadenses, ao lado do painel Data, que oferece envio de CSV, Magic Import e sincronização com o Google Sheet.
    A visualização de dados, aqui em um projeto de gráfico de barras. Envie um CSV, extraia os números de uma imagem com o Magic Import ou sincronize um Google Sheet. O painel é idêntico para todos os tipos de gráfico.
  4. 04

    Map the category and value columns

    Confirm which column feeds the horizontal axis and which feeds the column height. PlotSet usually guesses right when your headers are clear, like "Quarter" and "Revenue", but check it manually if your sheet carries extra columns.

    O painel Data do PlotSet com os vínculos de colunas em destaque: Label/time apontando para a coluna A, Values para a coluna B e Filter/color para a coluna C, com o botão Auto Binding logo abaixo.
    Os vínculos definem qual coluna vira o rótulo, qual fornece os valores e qual comanda a cor. O Auto Binding tenta adivinhá-los a partir dos seus cabeçalhos, então confira o resultado em vez de dar como certo.
  5. 05

    Turn off auto sort for ordered categories

    PlotSet defaults to ranking columns by value, which is wrong for anything with a natural sequence. Switch the sort control to source order so Q1 2023 through Q2 2024 stay chronological instead of jumping around by size.

  6. 06

    Format the value axis and set the gap width

    Add thousands separators or a currency symbol under number formatting, name the unit on the value axis, and confirm the axis minimum is 0. Set the gap between columns to roughly half a column's width: tight enough to compare, loose enough not to read like a histogram.

    O editor do PlotSet na aba Preview: um gráfico do tipo Column Chart já finalizado na área de edição e, na lateral direita, o painel de configurações contornado em vermelho.
    A aba Preview de um gráfico do tipo Column Chart. Todos os controles de estilo ficam no painel contornado em vermelho: aparência, cabeçalho, rodapé e as opções específicas desse tipo de gráfico. Cada grupo fica em sua própria aba.
  7. 07

    Pick one colour, then publish

    One consistent colour is correct for a single series; save a second colour for the one column you want to highlight, such as the most recent quarter. Add a title that states the comparison, then publish for a live interactive chart, grab the embed code, or export a PNG, SVG or PDF.

Comece pelo modelo de Column Chart com dados de exemplo já carregados, depois substitua-os pelos seus.

Abrir o modelo

Publique, incorpore ou exporte

A reta final é igual para todo tipo de gráfico: o Share transforma o gráfico em um link público interativo e em um código de incorporação; o Export gera um arquivo estático.

Share: link público e código de incorporação

Ativar o código de incorporação e o link público é o que publica o gráfico. O link pode ser enviado com segurança para qualquer pessoa, e o código de incorporação entra em qualquer página como um iframe que mantém a interatividade e os tooltips ao passar o mouse. Edite o gráfico depois e clique em Recreate para levar essas mudanças aos dois.

A barra de ferramentas do editor do PlotSet com o botão Share em destaque, ao lado do botão Export.
É pelo Share que um gráfico finalizado vira um link público e um código de incorporação.
A janela Share do PlotSet: a chave que ativa o código de incorporação e o link público, os botões Link, Embed, Facebook, Reddit, Twitter, LinkedIn e Email, e o link público do gráfico com um botão Copy.
Ative o código de incorporação e o link público, depois copie o link ou pegue o iframe. O Recreate leva as edições seguintes a todo mundo que já tem o link.

Export: SVG, PNG ou JPG

O Export grava uma cópia estática no tamanho que você precisar. O SVG continua nítido em qualquer escala e ainda pode ser editado em uma ferramenta de design; PNG e JPG são as escolhas seguras para slides e documentos. É o multiplicador de escala que garante uma imagem nítida em uma tela retina.

A barra de ferramentas do editor do PlotSet com o botão Export em destaque.
O Export é o caminho para gerar um arquivo estático para um slide ou um relatório.
A janela Export chart do PlotSet: um seletor de escala em 2x, campos de largura e altura definidos como 1000 por 600 e o menu de formatos aberto com SVG, PNG e JPG.
O SVG continua nítido em qualquer tamanho e editável em uma ferramenta de design; PNG e JPG são as escolhas seguras para uma apresentação. Defina a escala antes de exportar para que a imagem fique nítida em uma tela retina.

Dicas de estilo para um Column Chart

Keep the sort control off for time periods

If your categories are months, quarters or years, turn off value based sorting entirely. A chronological column chart tells a trend story; a value sorted one scrambles it into a ranking that doesn't exist in time.

Fit no more than about fifteen columns

Past that, labels start tilting or truncating and the columns thin into a picket fence. Group extra categories into an "Other" bucket, or switch to a horizontal bar chart, which handles a long list better than a column chart ever will.

Set the gap width around fifty percent

Too wide and the eye has to travel between columns to compare them; too narrow and the chart starts to look like a histogram, where touching bars mean something different: a continuous number line underneath. Fifty percent of a column's width is a safe middle.

Reserve a second colour for exactly one column

A highlight colour on the current quarter, or the category you're actually discussing, earns its place. A different hue on every column asks the reader to hunt for a grouping that isn't there.

Erros comuns ao fazer um Column Chart

Quarters or months come out alphabetical, not chronological

This means the sort control is still set to rank by value or by category name instead of source order. Open the sort setting in the chart panel, switch it to source order, and check that your sheet already lists the periods top to bottom in the sequence you want.

Labels are tilted at an angle and hard to read

This shows up once you're past ten or so categories, or once a label runs longer than a word or two. Shorten the labels first, "Q1 2024" instead of "First Quarter 2024", and if that's still not enough, take it as the cue to switch to a bar chart instead.

The columns look flat, all close to the same height

Check the axis minimum. If it's been nudged above zero, by hand or by an auto-scale setting, every column's true height gets compressed and small real differences look identical. Reset the value axis minimum to 0.

Saiba mais sobre o Column Chart

Não tem certeza se o Column Chart é a escolha certa? Veja o que é, quando usar e quando evitar.

Sobre o Column Chart

Column Chart: perguntas frequentes

Two columns and one header row: a category label, usually a time period, in the first column and one number per category in the second. CSV and .xlsx both work, and a pasted range from any spreadsheet tool is fine too.

Crie seu Column Chart agora

Grátis para começar com mais de 300 modelos. Sem cartão de crédito.