Giter Club home page Giter Club logo

ga-ds829-data-visualization-in-python's Introduction

Data Visualizations with Python


Materials We Provide

Topic Description Link
Lesson High-level overview (ipynb slides) Here
Practice Activity Instructor-run lab with exercises Here
Solution Solutions to the lab exercises. Here
Datasets Standard UCI Boston housing Here
Generic quarterly sales data Here
UFO sighting records Here
Drinks consumed per capita in various countries Here

This lesson purposefully uses a large number of datasets. This allows students to practice opening different types of data files. Having many datasets available allows us to explore a variety of visualizations throughout the lesson that might not be present in one dataset alone.


Learning Objectives

Part 1: Data Visualization Overview

  • Describe why data visualization is important.
  • Identify the characteristics of a great data visualization.
  • Describe when you would use a bar chart, pie chart, scatter plot, and histogram.

Part 2: Guided Practice (Lab)

  • Practice using different types of plots.
  • Use Pandas methods for plotting.
  • Create line plots, bar plots, histograms, and box plots.
  • Know when to use Seaborn or advanced Matplotlib

Student Requirements

Before this lesson(s), students should already be able to:

  • Recall and define the basic syntax for Pandas DataFrames and Series
  • Demonstrate how to input sample python code in a jupyter notebook dataframe

Lesson Outline

Outline: Part 1 (Data Visualization Overview)

40 mins

  • Why Use Data Visualization? (5 mins)
  • Anscombe's Quartet (10 mins)
  • Attributes of Good Visualization (10 mins)
  • Choosing the Right Chart (15 mins)
  • Independent Research (see Part 2)
  • Conclusion

Outline: Part 2 (Guided Practice Lab)

130 mins

  • Line Plots (20 mins)
  • Line Plots EXERCISE (10 mins)
  • Bar Plots (15 mins)
  • Bar Plots EXERCISE (10 mins)
  • Histograms (15 mins)
  • Histograms EXERCISE (10 mins)
  • Grouped Histograms (10 mins)
  • Box Plots (20 mins)
  • Grouped Box Plots (5 mins)
  • Using Seaborn (5 mins)
  • Scatter Plot EXERCISE (10 mins)
  • OPTIONAL: Understanding Matplotlib (if extra time)
  • OPTIONAL: Additional Topics (if extra time)
  • Summary

Additional Resources

For more information on this topic, check out the following resources:

ga-ds829-data-visualization-in-python's People

Contributors

danwilhelm avatar samuel-stack avatar rickyhennessy avatar lasisioo avatar carletonlsmith avatar aegorenkov avatar hboyan avatar richardjonathonharris avatar babyshoes avatar

Watchers

James Cloos avatar Aidan Connolly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.