Do you like visualizing data in a cute way like mine?

Tram Ho

Last night I was free to surf twitter playing casually and saw the article showing how to create charts to visualize data in the most ciuu way. So I tried it today. In fact, when clicking right on that article, the visualize data looks lovely and extremely eye-catching. In this article I will share with everyone an extremely cute package of python like hand-drawn style everyone =)). My name is: cutecharts ~ it sounds cute too.

Let’s start to see.

A little introduction

Unlike popular libraries like Matplotlib, seaborn or Plotly, the cutecharts library looks more like a hand-drawn style and in some cases can be useful in some cases. However, I see that looking cute and eye-catching is also a part of increasing interest in myself when reading the data already (who has the same mind?). Cute charts are both cute and interactive so we can interact directly on the chart (this point is quite similar to this plotly). When you hover the mouse on the chart, it is possible to display the numbers as visually as possible.

Figure 1: Figure illustrating

As you can see in Figure 1, this package is really cute. Also, I find it quite approachable .

What’s cool about Cutecharts?

How to install

Like other packages, you can install it in just a few minutes.

  • pip install

Or you can install from the author’s source code

Import library


I use the GDP of Southeast Asian countries to visualize for simplicity. Everyone can download it here . His sources refer here .

Let’s try visualize with this package.

How to visualize with cutecharts?

Draw bar chart

Draw a bar chart with the data set above

Let’s see how the show looks like

Figure 2: Bar chart showing GDP GDP of 2009

In this chart I am choosing 1 color for all columns if all want more colors we can change the param colors as shown below.

Figure 3: Bar chart with various colors used

You just need to click on the different columns to see the difference between the columns, I find it quite interesting.

Line chart

In order to compare the development of countries in 2009 and 2011, we will use the line chart to make it more intuitive. I will draw two graph lines of GDP in 2009 and 2011.

Figure 4: Line chart of 2009 and 2011

When you hover the mouse over the chart, the chart will automatically show the labels as shown in Figure 4 , besides that the show gives us the dotted line in the middle to be able to see the difference between the 2 years more clearly.

Pie Chart

Draw Pie ​​Chart of GDP of Southeast Asian countries.

Figure 5: Pie chart

You can change the color of the fields like in the bar chart above. And if you want to draw a pie chart like a donut chart. You just need to change the inner_radius parameter. Like the picture below.

Radar Chart

Actually, I have never used the Radar chart but this package provides 5 types of charts, so I added them. Maybe he didn’t leave you: p. People can refer to the meaning of Radar chart here .

Image: Radar chart.

Scatter Plot

Here I use the example in the article to see the relationship between the weather temperature and the amount of ice cream sold.

Draw scatter charts

Image: Scatter Plot

We can see that the hotter the weather, the more ice cream is sold. ps: this is obvious =))


There are actually many packages that support visualize models like matplotlib, seaborn or plotly, etc. However, I find this package quite lovely. We can use it to show cute drawings for our posts on viblo or when the EDA data makes me more interested in analyzing each field of data. The downside of this package is that the amount of graphs drawn is still limited compared to other packages such as matplotlib, …. Anw, I hope everyone will be more interested in visualizing data with this package.


Share the news now

Source : Viblo