# Visualize data using Amazon QuickSight

## Introduction

The ability to transform raw data into useful insights is critical in today's data-driven world. The secret to unlocking the potential in your data is data visualization. Amazon QuickSight is a cloud-based business intelligence (BI) service provided by Amazon Web Services (AWS) that specializes in data visualization. It enables organizations to create interactive dashboards, analyze data, and generate insights through visualizations. QuickSight is designed to be scalable, user-friendly, and cost-effective, making it suitable for businesses of all sizes.

In this blog, we’ll explore the powerful integration of Amazon QuickSight and Amazon S3, showcasing how this dynamic pair can transform your data into impactful insights and compelling visualizations.

## **Prerequisites**

1. Have an AWS account. If you don’t have one, sign up here [free](https://aws.amazon.com/) and enjoy the benefit of 12 month free tier account.
    
2. Download the datasets from Kaggle. In this demo, I use Netflix dataset from Kaggle and other manifest is used to define the data source and data import configuration in Quick sight.
    

## High-Level Architecture

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738042719044/682b9688-f490-4175-8f90-8803fa2291d4.jpeg align="center")

## Store the Dataset in S3 Bucket

1. Open AWS management Console and search S3.
    
2. Click on the Create Bucket.
    
3. Give the bucket name unique , leave all the default setting as it is and click on the create bucket.
    
4. Click on the bucket that looks like this:
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738043381531/40e77609-4042-4b2d-a675-3e4106cbde5d.png align="center")
    
5. Upload the dataset that we downloaded Earlier.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738043640378/a11ae1e1-2244-47c3-aaf1-b077af9b7c4a.png align="center")
    
6. Now, we have created a bucket which contains our netflix.csv and manifest.json file and copy the netflix\_titles.csv URI.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738044117226/30976f60-6243-441a-9339-5cb05b97be32.png align="center")
    
7. Open manifest.json file and change the file location URI with your S3 URI which is copied earlier and re-upload the manifest.json file in your s3 bucket.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738044307269/cbd28015-36c7-49f9-9beb-3ade44edf2ac.png align="center")

## Create Amazon Quicksight Account

1. Search for Amazon QuickSight in AWS management Console.
    
2. Select Sign up for QuickSight.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738045829344/6c2e2158-2f3b-4306-a4fa-c9ac104c2d40.png align="center")

3. Enter the email address, scroll down, and select the Amazon S3 bucket. Then, click on the bucket that was created previously. Lastly, Don’t forgot to untick the Add Pixel-Perfect Reports.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738046175988/4335915c-7a2c-4e79-8fdf-ddc3ca934e32.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738046311716/916eb096-9dbf-4b1d-9343-c3a52c2dd485.png align="center")

4. Finally, Our Amazon QuickSight account has been created. Let’s play around it.
    

## Connect S3 bucket to Amazon QuickSight

1. From the left hand navigation bar, select **Datasets**, then **New dataset**.
    
2. Select **S3**.
    
3. For the first field (data source name), enter netflix-data.
    
4. Ooo there's also a second field called **manifest.json URL** - does manifest.json found familiar?
    
5. Open a **new tab** to open your AWS Management Console again. Head back to your S3 bucket.
    
6. Select the checkbox next to **manifest.json**, then select **Copy S3 URI**.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738046959728/eb3ac122-f882-4705-a32b-c3f2d5f661fd.png align="center")

7. Enter the S3 URI to our **manifest.json** file.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738047021727/e380e066-6a4a-4f09-9947-45bb7d93e4ae.png align="center")

8. Select Visualize and **Interactive sheet** to start creating visualizations.
    

## Create Our First QuickSight Visualisation

Now we get to the creative part! With QuickSight, you can sort, filter, and customize your data to create visualizations. You can also experiment with different types of graphs like bar charts, pie charts, line graphs, etc.

We can see on the left hand panel that the dataset's fields are already imported.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738048103401/9d5a8df9-5923-423a-a941-1cba46e0a65e.png align="right")

1. There you can see a different types of charts to create a visualization. Drag **release\_year** into the Y-Axis heading. Woo! Now you can see a breakdown on the year that these Netflix-featured TV shows and movies were released.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738048752525/be6322fa-204b-42f3-8c8a-305450f5bdbe.png align="center")

2. Let's save this in a dashboard. Click on the frame surrounding our lovely donut chart, and click on the white boxes at the edges to resize it.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738060046709/65b24e4b-470a-478d-bcce-961660a15c69.png align="center")

3. Now let's create a new visual, select **\+ ADD** under the **Visuals** heading on our middle navigation bar, and we'll see another blank frame pop out.
    
4. Drag the **release\_year** label into the **Y Axis** heading.
    
5. Next, drag the **type** label into the **Group/Color** heading.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738049187894/93ef1d43-ee99-42df-b3b4-4e519ad22c35.png align="center")

6. Chart that shows the breakdown of TV shows/movies for each release year. Change the graph type to **Horizontal stacked 100% bar chart.**
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738049505566/e0f0d41b-bc9f-466e-893c-dcd79c1332f4.png align="center")

Now, Let’s demonstrate the same thing on table format.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738050570130/15241bea-346b-4392-b052-853def7f253d.png align="center")

Finally, we can see our dashboard looks like this.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738050651629/3d7ed2e0-340a-4b70-9b17-2ca56baa5f80.png align="center")

Double-click on the titles of all the charts you see in front of you, and the 'Edit Title' panel will pop up. You can give each chart a name which is clear and easy to understand.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1738050997650/fb4b1f23-7fa7-43b2-b86b-e892329f8f05.png align="center")

Final step, On the top right hand corner, select **Publish**. This will make your dashboard public so you can share it with your team.

## Conclusion

In this project, we explored the powerful capabilities of Amazon QuickSight to transform raw data into actionable insights through intuitive visualizations that enable better decision-making. Through this hands-on exploration of QuickSight, we demonstrated its potential to enhance data-driven decision-making within businesses by providing intuitive, real-time visual analytics. The flexibility, scalability, and cost-effectiveness of QuickSight make it a powerful tool for organizations looking to harness the value of their data.

## Resources

Amazon S3: [Amazon S3 - Cloud Object Storage - AWS](https://aws.amazon.com/s3/)

Amazon QuickSight: [Business Intelligence Tools - Amazon QuickSight - AWS](https://aws.amazon.com/quicksight/?amazon-quicksight-whats-new.sort-by=item.additionalFields.postDateTime&amazon-quicksight-whats-new.sort-order=desc)
