Connecting to your data source
To provide an example of a free, public dataset that can be used to create a map in QuickSight, you can leverage the Kaggle dataset of major league sports stadiums in the United States.
Figure 12.1: Sports stadium data .csv file contents
This data can be downloaded in tabular format and uploaded to Amazon Simple Storage Service (S3) as a comma-separated values (CSV) file:
Figure 12.2: Sports stadium data .csv file in an S3 bucket
Configuring Athena
You will now have a static dataset in S3 that we will expose to Amazon Athena in order to make the dataset accessible to Structured Query Language (SQL) queries. This approach is recommended for data that may change over time. Any changes made to the source data in S3 will automatically update the AWS Glue and Amazon Athena constructs that represent the data to QuickSight and other AWS services. The following query can be used in the Amazon Athena...