avatar Bite 79. Parse a csv file and create a bar chart

We played a bit with the Slack API today and wow: our PyBites community is super international! We really enjoy connecting with Pythonistas from all over the globe.

We put some anonymized data in a csv (using uuid4 and faker) and for this Bite we ask you to use requests to load it in, use the csv module to parse it into a data structure of your choice, and finally print the following output to the screen:

Africa/Algiers       | ++
Africa/Cairo         | +
Africa/Monrovia      | +
Africa/Nairobi       | ++++
...
...
Europe/Moscow        | ++
Europe/Warsaw        | ++
Pacific/Honolulu     | +

See the full output under the TESTS tab. Good luck and remember: keep calm and code in Python!

Login and get coding
go back Intermediate level
Bitecoin 3X

225 out of 225 users completed this Bite.
Will you be Pythonista #226 to crack this Bite?
Resolution time: ~67 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 5.0 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help