Skip to content
Learn Python with BNHR

Module 7 · Beginner

Charts and sharing

Module 7 of Arrays & DataFrames: the chart that answers the question honestly, choosing between matplotlib, seaborn and Altair, and a small interactive marimo app. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.

Module 7Level Beginner
On this page
  1. Overview
  2. What you do
  3. The module’s notebooks
  4. Certification and support

A chart is an answer to a question, and it can mislead as easily as it informs. This module chooses the chart for a comparison, a distribution and a trend, labels it, and starts its axis where it should. It compares the three libraries on one question, then builds a small marimo app on the survey: pick a province and crops, and the table and chart follow.

  1. The chart for the question, honestly labeled: comparison, distribution, trend
  2. matplotlib, seaborn or Altair: when each fits
  3. A small interactive marimo app from a DataFrame

The notebooks are in your course folder; here you can read them without running anything. For reference in any module: primer: marimo and the python this course assumes and primer: pandas 2 to 3 and glossary.

Saved in this browser only

Certification and support

We offer additional resources, certificates, ongoing support, and other perks to those who join our instructor-led training.

Join an upcoming training to take this as an instructor-led course, or contact us to arrange one for your team or organization.

Something new

Identify results
LayerExplore a stretch exercises
Stretch exercises S1Stretch: DataFrames
AboutStretch exercises of Arrays & DataFrames, after module 5: harder DataFrame exercises on the farm survey, with less help, each with its check and its solution on the companion.
CourseArrays & DataFrames, free