← Python functions and events: projects

Chart your data

Open project · after lesson 5: Functions that decide

Choose something you can count (your week's screen time, the class's favourite fruits, rainfall) and draw it as a bar chart. A function decides each bar's colour from its value, so big and small values look different.

One way it could look
One way it could look. Yours will be different.

You'll use

These light up when your code uses them. Click one to see where you learned it.

Try it yourselfYour edits are saved in this browser.

Milestones

Tick each one when it is true of your project. Nobody marks it: be honest with yourself.

Make it yours

Looking back

Tick every milestone first.

Python functions and events · project badge

★ Chart your data

Built with

Milestones

The hardest part