Get data from Internet
Goto Yahoo Finance (https://finance.yahoo.com)
In the search bar, type in apple Inc. (AAPL), then search
Click on the "Historical Data" tab
From the "Time Period" drop down, select "5Y"; then click the "Apply" button
Click the "download" to download the CSV file
Google Looker Studio
Create a Data Connection
Goto Google Looker Studio (https://lookerstudio.google.com)
Click the "Create" button and then choose "Data Source"
Choose the "File Upload" connector
Rename the data source as "AAPL Last 5 Years" by clicking on the title
Upload the "AAPL.csv" file you just downloaded
Click the "Connect" button
Check whether the Field and Type match.
Change Adj Close, Close, High, Low, Open from "Numeric" to "Currency (USD - US Dollar ($))
Create a Report
Click on the "Create Report" Button.
Your If the report is not in Edit mode, click the "Edit" button on the upper right to enter the Edit mode
Rename the data source as "AAPL Last 5 Years Report" by clicking on the title
Aftre you created a report, there is a table already in the report, if you dont want it you can delete it.
First, let's Add a title on the canvas
Click on the Text component on the toolbar and then put the textbox in the location you want
Enter "AAPL Last 5 Years Report"
Change the fonts size and style to whatever you like
Next, let's add a chart
Click on "Add a chart" and then choose the first Time Series chart, drop it to a location you like
Kept the chart selected; in the "Set Up" tab, and then change the metric to "Close" (meaning close price of the stock"
You may realize that there are a lot of 0 value. That's because the stock market is not open on weekend and holiday and the missing data is interpret as 0.
Kept the chart selected; click on the "Style" tab, and then scroll down. Change the "missing data" drop down from "Line to Zero" to "Linear Interpolation"
You can also change the chart style to anything you like
No it is your turn, Add another Time Series chart for Volume vs Date; but this time instead of show line, show bars. (There maybe a little bug in the bar setting when there are two many data the bar graph only can fit limited amount of data)
Next, Let's add some scorecards. Scorecards highlight important numerical summative metric.
When you created the Data Set, Looker already created one calculated metric for us, which is called "Record Count".
Drag the "Record Count" from the Data column to the canvas, it will become a scorecard.
You can change the style of the scorecard.
Next, let's add another scorecard to show the minimum close price of AAPL in the last 5 years
Click on "Add Field" in the Data Column
In the Field Name, put "Min Close"
in the formula, put min(Close)
Click "Save" and then "Done"
Now drag the "Min Close" from the Data column to the canvas like before. Change the style to whatever you like
No it is your turn, make a "Max Close" scorecard to show the maximum close price of AAPL in the last 5 years.
Next, let's add some control elements
Click on "Add a Control" dropdown to add a "Date range control"
Now click the "View" buttom on the upper right corner to change the report to View mode.
Click on the Date range control dropdown to choose a new date range. Now you can see that the charts and scorecard both change accordingly
Go back to the Edit mode by pressing the "Edit" button on the upper right corner.
This time we are going to add a "Preset filter"
After you add the "Preset filter" to the canvas, click on it