Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
broke out notebook into 4 separate notebooks
  • Loading branch information
pmaji committed Aug 6, 2019
commit d16ecedad4736dee4e1167b3c7e7bf3c116c1b32
44 changes: 42 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,49 @@
# Overview
# Practical Data Visualization with Python

## Overview

**Note:** *All views expressed on this site are my own and do not represent the opinions of any entity with which I have been, am now, or will be affiliated.*

This repository contains all materials related to a lecture / seminar I teach on practical data visualization with python. What I mean by "practical" is that the materials herein do not focus on one particularly library or data visualization method; rather, my goal is to empower the consumer of this content with the tools, heuristics, and methods needed to handle a wide variety of data visualization problems.

This is a work in progress that will be evolving rapidly over the coming weeks and months, so please check back often for new additions and refinements, and if you'd like to contact me, don't hesitate to reach out [via Twitter here](https://twitter.com/ByPaulJ).

## Outline of Materials

In the section below you'll find a brief outline of the content contained in the four sections of this seminar. For each section there is a separate Jupyter notebook of python code containing all the materials for that section. Each notebook will start with a few setup steps--package imports and data prep mostly--that are almost identical between the notebooks, directly after which comes the content for each section.

### Why We Visualize

1. The power of visual data representation and storytelling.
2. A few principles and heuristics of visualization.
3. The building blocks of visualization explored.

### Overview of Python Visualization Landscape

1. Intro to the visualization ecosystem: python's Tower of Babel.
2. Smorgasbord of packages explored through a single example viz.
3. Quick & dirty (and subjective) heuristics for picking a visualization package.

### Statistical Visualization in the Wild

1. Example business use case of data visualization: debt-to-income ratios explored.
1. Observational:
- mean, median, and variance
- distributions
2. Inferential:
- two-sample t-test
- KS test

### Library Deep-Dive (Plotly)

1. Quick and simple data visualizations with Plotly Express.
- Mark types, colors, facets, etc.
2. Additional control and complexity with base Plotly.
- Choropleth maps
- Heatmaps

## Links

- For the main lecture notebook:
- [Here is the link](https://nbviewer.jupyter.org/github/pmaji/practical-python-data-viz-guide/blob/master/notebooks/main_lecture_nb.ipynb) to the easy-to-view notebook
- [Here is the link](https://github.com/pmaji/practical-python-data-viz-guide/blob/master/notebooks/main_lecture_nb.ipynb) to the GitHub-hosted version of the notebook
Expand All @@ -16,7 +56,7 @@ This is a work in progress that will be evolving rapidly over the coming weeks a
- [Here is the link](https://nbviewer.jupyter.org/github/pmaji/practical-python-data-viz-guide/blob/master/notebooks/participant_hw_nb.ipynb) to the easy-to-view notebook
- [Here is the link](https://github.com/pmaji/practical-python-data-viz-guide/blob/master/notebooks/participant_hw_nb.ipynb) to the GitHub-hosted version of the notebook

# Setup Instructions
## Setup Instructions

- clone this repository locally
- create a virtual environment using `python3 -m venv env`
Expand Down
6 changes: 3 additions & 3 deletions media/basic_bokeh_fig.html

Large diffs are not rendered by default.

Binary file modified media/basic_matplotlib_fig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions media/basic_plotly_fig.html

Large diffs are not rendered by default.

Binary file modified media/basic_plotnine_fig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/basic_seaborn_fig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions media/heatmap_ltv_fico_upb_conct_fig.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions media/lender_fico_distplot.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions media/lender_fico_hist.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions notebooks/main_lecture_nb.ipynb

Large diffs are not rendered by default.

Loading