Create Hand-Drawn Charts From Excel Data With Cutecharts
The Python library cutecharts draws line, bar and pie or donut charts in a hand-drawn, comic style, which suits a draft or an informal deck better than a polished chart. pandas reads the data from an Excel file, and each chart is saved as an interactive HTML file with tooltips.
Install the packages
Install cutecharts for the charts, and pandas with openpyxl to read the Excel file. My workbook data.xlsx has one sheet per chart: Line, Bar and Pie.
pip install cutecharts pandas openpyxl
Line chart
The line chart shows sales and profit per month. line_df is the Line sheet, read with pd.read_excel the same way as the bar chart below, and x is its list of months. Each column becomes one series, and set_options sets the labels of both axes.
from cutecharts.charts import Line, Bar, Pie # pip install cutecharts
import pandas as pd # pip install pandas openpyxl
# line_df holds the Line sheet of data.xlsx, x is its list of months
y1 = line_df['Sales'].to_list()
y2 = line_df['Profit'].to_list()
# Create Line Chart
chart = Line('Sales & Profit')
chart.set_options(
labels=x,
x_label='Months',
y_label='USD'
)
chart.add_series('Sales', y1)
chart.add_series('Profit', y2)
chart.render('line.html')

Bar chart
The bar chart compares sales per sub category. The sub categories become the labels on the x axis, and the sales column is the only series.
### BAR CHART ###
# Load Data
bar_df = pd.read_excel('data.xlsx', sheet_name='Bar')
x = bar_df['Sub Category'].to_list()
y = bar_df['Sales'].to_list()
# Create Chart
chart = Bar('Sales by Sub Category')
chart.set_options(
labels=x,
x_label='Category',
y_label='Sales in USD'
)
chart.add_series('Sales', y)
chart.render('bar.html')
cutecharts expects plain Python lists, which is why each column goes through to_list(). The render call writes an HTML file you open in the browser.

Donut chart
The Pie chart shows each category’s share of total sales. Unlike the line and bar charts, add_series takes only the values, and the category names go into labels. With the default settings cutecharts draws a donut; pass inner_radius=0 to set_options for a full pie.
### Pie/Donut CHART ###
# Load Data
pie_df = pd.read_excel('data.xlsx', sheet_name='Pie')
x = pie_df['Category'].to_list()
y = pie_df['Sales'].to_list()
# Create Chart
chart = Pie('Sales by Category')
chart.set_options(
labels=x)
chart.add_series(y)
chart.render('donut.html')

If you need just one hand-drawn chart and do not want to install Python, the free hand-drawn chart maker takes pasted Excel cells and exports the chart as interactive HTML, PNG or SVG.
