PlotSet LogoPlotSet

How to Create a Pie Chart

A step by step walkthrough for turning a spreadsheet into a published pie chart in PlotSet, from shaping the sheet and rolling up the long tail to exporting or embedding the finished chart.

Unos 6 minutos

Swap in your own numbers instead of the sample data the template loads with, and here's how to create a pie chart in PlotSet from a label column, a value column, and a total the slices actually add up to. You will upload the sheet, roll any long tail of small categories into a named group, order the slices so the biggest lands first, and publish something you can embed or hand off as an image.

With a clean two column sheet of five or six categories, this takes about six minutes end to end. Add a few more if your source is a wider report you need to trim down first, or if you are deciding what to do with a dozen tiny categories that do not deserve their own slice.

Los datos que necesitas

Two columns, one row per category: the label first, the number second. The numbers should sum to one meaningful total, and there should be no more than six or seven rows by the time you upload.

CSV de ejemplo
ServiceMonthly Spend ($)
Compute4200
Storage1350
Database980
Networking610
Support340
Notas

The value column needs to be a plain number, not a pre-formatted percentage string like "38%". PlotSet calculates the percentage from the raw values, so let it do that math.

If your source report has fifteen or twenty rows, decide the cutoff in the spreadsheet first. Sum everything below it into one row labelled "Other" rather than uploading all of it and grouping later.

One header row only. A totals row at the bottom gets read as its own slice, usually the largest one, and it will swallow the rest of the circle.

Negative numbers and zeros do not have a sensible angle in a pie. Filter zero rows out and rethink the chart type if any value is negative.

Los pasos

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

  1. 01

    Choose the Pie Chart template

    From the PlotSet dashboard, start a new project and choose the Pie Chart template. It loads with sample data already bound to it, so you can see the two column shape it expects before you bring in 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 into a label and a value column

    Put the category name in the first column and its number in the second, one row per category. If the source is a pivot table or a finance export, strip out subtotal rows before you get near PlotSet.

  3. 03

    Roll the long tail into Other, before uploading

    If you are looking at more than six or seven categories, sum the smallest ones into a single row labelled "Other" in the spreadsheet itself. Doing this before upload keeps your source file honest about what the chart is actually showing.

  4. 04

    Upload your 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 the underlying numbers change on a schedule and you want the chart to pick that up.

    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.
  5. 05

    Map the label and value columns

    Confirm which column feeds the slice labels and which feeds the angles. PlotSet usually gets this right when your headers are clear, but check it manually if the sheet has extra columns it might have guessed at.

    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.
  6. 06

    Sort the slices and turn on percentage labels

    Order slices largest to smallest starting at twelve o'clock, unless the categories carry their own order (age bands, survey scale). Then switch on percentage labels for every slice: angles alone are not precise enough for a reader to compare, the numbers are.

  7. 07

    Set a colour per slice and drop the legend if you can

    Give each slice its own distinct colour rather than shades of one hue, which read as ranked when they are not. With five slices or fewer, label each one directly on the chart and remove the legend entirely: it saves the reader a lookup.

    El editor de PlotSet en la pestaña Preview: un gráfico de tipo Pie 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 Pie 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, embed or export the finished chart

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

Empieza con la plantilla de Pie 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 Pie Chart

Label slices directly, skip the legend under six categories

A legend forces the reader to look away from the circle, find a colour, then look back. Direct labels on or beside each slice remove that round trip entirely, and PlotSet fits them cleanly up to about five or six slices.

Start at twelve o'clock, go clockwise, biggest first

This is the reading convention people already know, so use it rather than fighting it. The moment the largest slice starts anywhere else, readers spend a second just orienting themselves before they get to the data.

Name the Other slice in the title or a caption

"Other" on its own tells the reader nothing about what got grouped. A short caption, "Other includes eleven regions under 2% each", turns a vague catch-all into an honest summary.

Keep the palette flat, no gradients or 3D shading

A gradient or a tilted 3D slice implies an extra dimension of meaning that is not there, and it distorts the angle a flat pie relies on to be read correctly. One flat colour per slice is the whole job.

Errores comunes al hacer un Pie Chart

The slices do not add up to a sensible whole

This usually means a filter or a date range excluded some rows before upload, so the circle claims completeness it does not have. Check the raw row count in PlotSet's data table against your source sheet and reconcile the difference before publishing.

Colours jump around every time you resort

If colour is assigned by row position rather than by category name, resorting the slices reshuffles the palette too. Assign colours to the category labels themselves in the style panel, not to whatever sits in row three at the time.

Too many thin, unlabeled slivers around the edge

A raw export with twenty countries or product SKUs produces a dozen slices too thin to carry a label. Go back to the spreadsheet, not the chart settings, and collapse everything under your cutoff into one Other row.

Aprende más sobre el Pie Chart

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

Sobre el Pie Chart

Pie Chart: preguntas frecuentes

Two columns and one header row: a category label in the first column, one plain number per category in the second. CSV and .xlsx both work, and the numbers should be raw values, not pre-formatted percentages, since PlotSet calculates the share itself.

Crea tu Pie Chart ahora

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