Datavisualization with Python and matplotlib
This lesson assumes that you already understand basic programming concepts
and are either familiar with,
or can quickly master,
the basic elements of Python. In this lesson we visualize several types of health care data. We explain when to use different chart types.
- Health Indicators Scatterplot
This example uses health indicators for NY-state (such as diabetes and cardiac event rates per county) to show how to graph relationships between 2 or 3 variables.
- Hospital Infections
This example uses NY-State hospital infection counts to demonstrate compositions over a few time periods. The example compares yearly infection counts at two hospitals.
- FDA data
This examples uses FDA adverse event data to show how to compare data. We compare categories of drugs using adverse events. Several cases are shown, ranging from few items and categories to many items and categories.
- FDA data part 2
This example uses FDA adverse event data sampled on a weekly basis for many years. The data has a few hundred points. We use it to show how to plot near continuous data using line and area charts.
- Sparcs
This example uses another NY-State health dataset to illustrate histograms and pie charts.