Customizing your election donut

After you've uploaded a dataset into Datawrapper and selected the election donut chart, you might want to work on its appearance.  Let us show you how to make changes to an election donut in three simple steps

One strength of the Datawrapper election chart is that you use the exact colors of the parties being presented, which is important make the results easier recognizable for users. A green party should be green, of course. 

This guide will walk you through the steps necessary to create a election donut as seen above.

The first thing you will notice is that the election donut might be too small. You have two options to  resize the chart, either through resizing using your mouse or by specifying the exact size you want:

  • Click, hold, and drag the resize arrow in the bottom right corner of the chart:

  • specify the exact size of the chart by defining the height and width in pixels with the help of the boxes below the chart:


In the "Refine" tab, you'll see a few options:

First, we can choose colors for our donut slices. We can click on the color next to the words "Base color", to choose a color and its shades for all donut slices. When we click on "customize colors...", we can choose individual colors for all our slices. Especially when using an election donut, you might want to do a bit for research as for the exact colors the parties have. 

There is only one option left in the Refine tab: You can decide if you want to sort the donut slices by size. By default, this is turned off. Instead, the parties in your election donut are sorted by the order with which they appear in the data. If you want to change this order (according to the actual seating in the parliament), you will need to go back to step 1: Upload data and sort your rows. We did that, so we will let "Sort by size" unchecked:

These are all the options you can find in the Refine tab. Let's move on to the Annotate tab. Here you'll find two options: "Describe chart" and "Highlight element".



Describe chart

If you've created a Datawrapper chart or map before, you already know this feature. Here we can give your chart a title, a description, add notes and a source:

  • We recommend using the title to tell your readers what's interesting about this chart – the one key statement that you want to show on this chart, e.g. "Unemployment highest in the south"
  • The description should have as much information about the data as possible: What do we see exactly? E.g. "Unemployment rates in % in all US states, 2016"
  • Think of notes as footnotes, where we want to specify any abnormalities about your data. E.g. "California unemployment rates from Jan and Feb 2016 not included in the calculation."
  • The source name will give our readers the information how trustworthy our data is. Does it come from a government institution or another trustworthy organization? The source URL lets our reader dig even deeper and have a look at the underlying data themselves. Both, source name and source URL, should be filled out on every map or chart to increase transparency. E.g. US Bureau of Labour Statistics, August 2017

Highlight element

In the 2nd panel in the "Annotate" tab, we can emphasize certain donut slices. All the other donut slices will then tone down in their color. To remove added elements, click on the little "x" left of the text in the blue button:

Afer explaining the Annotate options, there's only one tab left: Design. 



In this last step, we can select a preset layout and enable social sharing functions to spread your work. 

  • Users of the free plan or Single users have two options: One layout with and one without the "Get the data" link
  • Users of Datawrapper Team are able to select a custom layout here 



After we worked through the four tabs of step 3: Visualize, we can now proceed to step 4: Publish & Embed. Here we can select a preset layout and enable social sharing functions to spread your work. Click on "Publish" and you'll be directed to the "Publish & Embed" page.

The best way to use a Datawrapper chart is by embedding it directly on your website. To do that, click the big blue button that says " Embed chart on website". Then, copy & paste the embed code snippet into your website or CMS. You can also download your chart as a PNG or PDF by upgrading to a paid Single or Team account. Click here for more information on the different pricing plans of Datawrapper.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us