Tutorial – visualizing data in Python
Over the course of this tutorial, we will be retrieving a few different datasets from a range of sources and exploring them through various kinds of visualizations. To create these visuals, we will implement many of the visualization steps in conjunction with some of the open source visualization libraries. Let's get started!
Getting data
Recall that, in Chapter 3, Getting Started with SQL and Relational Databases, we used AWS to create and deploy a database to the cloud, allowing us to query data using MySQL Workbench. This same database can also be queried directly from Python using a library known as sqlalchemy
:
- Let's query that dataset directly from Amazon Relational Database Service (RDS). To do so, we will need the
endpoint
,username
, andpassword
values generated in the previous chapter. Go ahead and list these as variables in Python:ENDPOINT=" yourEndPointHere>" PORT="3306" USR="...