Start free

Browse › Jupyter Data Visualization

Create a Histogram by Using Python in JupyterLab

Guided

Part of Jupyter Data Visualization Topic: Data Science

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this lab, you will analyze and visualize data distributions by using Python in the JupyterLab development environment.

  1. Load the Python NumPy, Matplotlib, and pandas libraries
  2. Load data stored in a CSV file into a pandas DataFrame
  3. Review the data in the DataFrame
  4. Create and compare a bar chart and a histogram
  5. Customize the colors in a histogram
  6. Add labels, a legend, and a trend line
  • ⏱ About 30 minutes