How to create your first chart

Available on all plans:
  • Free
  • Pro
  • Business
  • Enterprise

Hello! This is a very detailed tutorial on how to create and play around with your very first chart in Datawrapper. You'll learn how to create a stacked bar chart like the one below – but on the way, you will also try out other chart types, like a multiple donuts chart, split bars, stacked column chart, and dot plots.

But first, you'll need to open Datawrapper. To do so, go to datawrapper.de in your browser. You should see a website that looks like this:

Now click on the big blue Start creating button. You can use Datawrapper without being signed in, but you will need to sign up to publish the chart you build.

Clicking on the Start creating button will bring you directly into the chart editor. Here, you can see four steps on the top: Upload Data, Check & Describe, Visualize and Publish & Embed. You will walk through these four steps to build your chart.

Every data visualization needs data, so that’s what Datawrapper asks you to upload first in the Upload Data step. You can simply copy & paste your data in the white text field at the right, or you can upload an Excel file or connect a Google Sheet or another external dataset. That’s great if you want live-updating charts, for example, during an election.

But in this exercise, we'll assume that you don’t want to upload data – and instead, take one of the sample datasets that Datawrapper prepared for you.

To do so, click on Select a sample dataset on the left, below the upload options. You’ll get a list of sample datasets. You can play around with the other datasets later. For now, choose the dataset Rural and urban population.

Once you select Rural and urban population, you see the dataset in the text field. It looks a bit chaotic right now, but don’t worry, it’ll be tidied up and readable once you go to the next step, Check & Describe.

To do so, click on Proceed at the bottom left, or on Check & Describe in the arrow above.

Now you see your data in a proper table! Let’s look at the data you just selected:

In the first column, you see categories: countries and their capital in brackets. (Why are the countries in bold while the capital is not, you wonder? That's something you can achieve with HTML formatting. You can find a guide on that here.)

The following columns contain the share of the population that lives in the capital, in other urban areas, and in rural areas.

You can see that the columns are differently colored:

  • The first column is black – that tells us that Datawrapper recognizes this column as a text column. Great! That’s what it is.
  • The following columns are blue, which means Datawrapper thinks these are columns filled with numbers. That’s also right, so it seems like you're good to go.

When you’re creating a data visualization, it’s always helpful to know if Datawrapper understands the values you uploaded. Make sure the columns are in the right color before continuing.

Ok, let’s do that; let’s continue. Click on 3 Visualize to get to the next step:

Finally, a data visualization! The Datawrapper team defined that this data should be shown as a stacked bar chart, and already added a title and description. How convenient! (If you upload data yourself, it will always be shown as a line chart.)

You can see that there are many other chart types available: normal bar charts, line charts, pie charts, and more uncommon ones like dot plots and scatter plots. You will try a few of them later.

For now, let’s make your stacked bar chart more readable. To do so, click Refine at the top of the chart types:

This brings you to a page on which you see different settings. Play around with them! You can turn Thicker bars on, for example, or see what happens when you turn on Show values > Visibillity: on hover.

Let's assume you want to change the colors. To do so, click on customize colors right below Appearance. This will open a little list of categories that you can color differently:

Click on a category ❶, then click on the little color swatch that appears to its right ❷. Then, select a color ❸ and finally, click on the little checkmark in the lower right ❹ to tell Datawrapper that you want to keep it.

Choose some colors and see if and how they improve the chart. You can, for example, go with the following color combination: A stark red for the first part of the bar ("capitals"), and grays for the second and third part of the bar. This way, you set a clear focus in this chart: Your readers will know what part of the bar to look at first!

Alright, almost done! Let's look at the chart again. Is there anything you still want to change?

You might want to consider the number format. Right now, your chart shows numbers like 56.02 and 38, but you can do better: First, you could make sure your readers understand that these are shares by adding a percent sign. To do so, scroll up and click on the drop-down next to Number format in the Labels section:

You could also try the 0.[0] (or 0.[0]%) number format. This one sounds complicated, but it's actually one of the nicest features of Datawrapper: It only shows a number after the decimal point if that number is bigger than 0. So for example, 56.0 shows up as 56, and 27.4 gets still shown as 27.4. Learn more about number formats in this Docs article.

Your chart looks neat, but it needs a proper title. To add one, go to the Annotate tab:

Here you can add a title, description, notes, a data source, byline, and alternative description for screen readers. Almost everything is already filled out. To give the chart a different title, click in the first text field and start typing:

So far, you only changed the settings for stacked bar charts – but Datawrapper has so many more chart types you can use. Let's explore them. To do so, go back to the tab Chart type. There, choose e.g. the chart type Multiple Donuts:

Nice, you've got some donuts! But if you look closer, you'll notice that the chart doesn’t make sense: For each share, it shows the people of which countries live in the capital, in urban areas, and rural areas. That’s not helpful.

Your chart should be the other way around: For each country, it should show the share.

Datawrapper has a feature inbuilt that can help you with that. It’s called Transpose the data, and you will find it at the bottom of the chart type grid:

When you transpose data, columns become rows and rows become columns.

That’s what happens in the background, but you don’t need to care about it so much. When you look at your chart, it looks great – and that’s what counts. Every time a chart looks odd – like, “the wrong way around” – try transposing the data with a click on this link down here.

And like with stacked bar charts, you can refine this chart even further.

To do so, go to the Refine tab at the top again. And again, you'll get a list of options you can change, like how big your inner donut hole should be or if your color legend should be at the top of your chart:

Done with multiple donuts? You can try out as many chart types as you’d like! Just go back to the Chart type tab and play around. How about you select the chart type Stacked Columns?

That seems to work fairly well for your data – indeed, stacked column charts are basically 90 degree rotated stacked bar charts.

But you need to keep in mind what your data visualization will look like on different screen sizes. That’s why Datawrapper offers these three buttons below each chart:

With these buttons, you can check what the chart looks like for mobile readers, tablet readers, and readers on desktop computers. And you can see that for mobile readers, the labels need to get so cozy that they're hard to read. For only a few columns with short labels, (stacked) column charts can be a great choice – in your case, it's not.

Ok, let's try something else. Here's a curious one – the Dot Plot. (Make sure to transpose the data again to get to this result!)

It’s a great chart type if you want to show high values that are close together – because unlike bar charts, dot plots don't need to start at zero.

For a dataset like yours, it doesn't have many advantages, though: The chart shows smaller filled areas (little dots instead of thick, self-confident bars) and might not get as much attention from readers. And the little gray dots all over the chart can be hard to parse.

Maybe Split Bars are a better fit?

They make it easier to compare the values of “other urban areas" and "rural areas" with each other; easier than your stacked bar chart.

But the whole chart looks crammed on mobile phones (try it!). Your bars can be longer in the stacked bar chart. The stacked bar chart really does seem like a good solution for your data.

Now that you figured that out, you're ready to publish!

To do so, click on the arrow 4: Publish & Embed. If you don't have a Datawrapper account yet (or are not signed in), you'll need to sign up or sign in.

If you're signed in, the Publish step will look like this:

You can now see a big button that says Publish chart. Click that button – and voila, you've got a published chart!

Once your chart is published, you can embed your chart and get a link to share it. Let's do this:

If you want to share your chart on social media or just in an email to a coworker, choose the Link to your visualization option. Open the link (datawrapper.de/_/13o5F/), and you will see your chart in a new tab:

The Embed code options below are great for embedding your chart in an online article. Learn more about Datawrapper's different embedding options.

Try to hover over the data, and you will notice that the chart is interactive, too.

And that’s it! Congrats on your first published Datawrapper chart, and thank you so much for following this tutorial.

Do you have questions about options in a specific chart type? Click on the categories to the left of this Docs article to find out more about pie charts, bar charts, dot plots, etc.

To find out more about Datawrapper in general, go to the Datawrapper website. And if you have any questions, we're always happy to help at support@datawrapper.de.

Last updated on November 15th, 2026