By: Gerald Bryan · December 13, 2024
In this recipe, we will build a comprehensive end-to-end IDX market overview dashboard. The IDX market, also commonly referred to as IHSG, is currently among the most promising stock exchanges globally. For a further data or analysis of Indonesian Stock Market (IDX Market) you can go to Sectors App.
Did you know this about the Indonesia Stock Exchange (IDX)? According to the World Federation of Exchanges (WFE) data as of November 2024, the IDX Composite Index (IHSG) ranks as the 19th largest globally—outperforming the Singapore Exchange. However, its market size is still only half that of larger players like the Korean and Tehran Stock Exchanges. Explore detailed insights into Indonesia’s stock market conditions here.
But here’s the exciting part: Indonesia’s financial market is experiencing rapid growth—an impressive 41% increase over the past two years. To put this into perspective, let’s look at the top four countries by population and their GDP ranks:
Despite being the 4th most populous nation, Indonesia’s economy is ranked 16th in size, and its stock market ranks 19th globally (compared to Singapore at 23rd, Thailand at 26th, and Malaysia at 28th). This highlights Indonesia’s immense potential for growth. It’s early days for the country’s economy and financial markets, but the trajectory is clear—Indonesia is poised for a bright future.
Let’s embark on this exciting journey and explore more about IDX market overview!
In this recipe, we’ll use Google Sheets to fetch data from the Sectors API. Note that this is not the only way to access data from the Sectors API you can also use tools like Postman or any programming language to call the API. However, to keep things as low-code as possible, we’ll be using Google Sheets in this example. Before getting started, you’ll need two tools: the API Connector extension and a Sectors API key. For instructions on how to use the API Connector extension in Google Sheets, refer to this tutorial in the previous recipe.
If you already familiar with the API Connector Extension, now you just need to change the all we need to do is change the Request URL
and add the headers with Authorization
and value of your <API Key>
.
This time we will fetch these data:
Historical IDX Market Cap
https://api.sectors.app/v1/idx-total/
Historical LQ45 Index Price
https://api.sectors.app/v1/index-daily/lq45/
Historical IDX30 Index Price
https://api.sectors.app/v1/index-daily/idx30/
Historical JII70 Index Price
https://api.sectors.app/v1/index-daily/jii70/
Top 10 Companies based on Market Capitalization
https://api.sectors.app/v1/companies/top/?classifications=market_cap&n_stock=10
Top 10 Companies based on Dividend Yield
https://api.sectors.app/v1/companies/top/?classifications=market_cap&n_stock=10
Top 10 Companies based on Revenue
https://api.sectors.app/v1/companies/top/?classifications=revenue&n_stock=10&year=2023
Top 10 Companies based on Earnings
https://api.sectors.app/v1/companies/top/?classifications=earnings&n_stock=10&year=2023
Top 10 Thirty Days Gainers
'https://api.sectors.app/v1/companies/top-changes/?classifications=top_gainers&n_stock=10&periods=30d'
Top 10 Thirty Days Losers
'https://api.sectors.app/v1/companies/top-changes/?classifications=top_losers&n_stock=10&periods=30d'
After finish configuring the API connector and fetch the data, then you will have the google sheets file that supposedly look like this
After previously using Google Sheets as an intermediary to fetch data from the API before importing it into Looker Studio, we will now directly call the API in Looker Studio using the Windsor.ai connector. However, we can’t use an API with need to specify the authorization key in the url header, because it only have the box for url which make us can’t specify the header (our api-key).
Disclaimer: Supertype is not affiliated with Windsor.ai and takes no responsibility for any outcomes resulting from the use of this extension.
Open Looker Studio and create a blank report.
The “Add data to report” menu should automatically appear. In the search box, type json
. Under the Partner Connectors
section, select the Windsor.ai connector (highlighted in the red square).
After selecting the connector, authorize Windsor.ai by clicking the authorize
button. Be sure to read the terms and conditions as well as the permissions being granted. Again, Supertype is not responsible for any consequences arising from the use of this extension.
Once authorized, provide the URL of the JSON data source you want to use in the Enter the URL of a JSON data source
field. For this article you can use this url https://raw.githubusercontent.com/geraldbryan/worlwide_mcap/refs/heads/main/worldwide_mcap.json
. Then, click the Add
button.
After adding the data source, you can use it in your report to create visualizations.
Important Note About Data Privacy:
For the Windsor.ai JSON connector, by default, the data you connect may be accessible to others in the Windsor.ai community. To ensure your data is private:
Go to the Resources
menu -> Manage added data sources
-> click Edit
for the dataset connected via Windsor.ai.
In the settings, locate the Community visualization access
option, set it to off
, and click save
.
This ensures that your data is not accessible to others by default.
In Looker Studio there are two type of data source, which is the data type in Embedded scope
and the other one is Reuseable Scope
. The table below will explain the difference between those two type
Embedded | Reuseable | |
---|---|---|
Created in a report | Can be created from homepage | |
Can only be accessed from a single report | Can be accessed by all reports | |
Shared / copied along with the report | Changes will be applied on all reports that used it as the data source | |
Can be edited by anyone who can edit the report | More control over sharing | |
Can be converted to reusable | Can not be converted to embedded |
To change the data source from embedded to reusable, open the report that uses the desired data source. Navigate to the Resource
menu -> Manage added data sources
, and click Make Reusable
on the dataset you want to reuse.
Once you’ve done that, the dataset can be imported directly into other dashboards without needing to configure the connection for every report. Simply go to the +Add Data
menu -> switch to My data sources
, and select the data you want to use.
One advantage of using Looker Studio to create dashboards or data visualizations is the ability to set data auto-updates, commonly referred to as data freshness in Looker. The options for data freshness vary depending on the connector being used. For more detailed information, refer to this documentation.
Setting up data auto-update (data freshness) is similar to changing the data source type. Go to the Resource
menu -> Manage added data sources
. From there, select the data source you want to auto-update, click the Data Freshness
option, and modify the schedule accordingly.
Alternatively, you can manually refresh all the data used in a report by clicking the three dots and selecting Refresh data
.
Before we dive into the hands-on work in Looker Studio, let’s first explore the foundational concepts of data visualization and data storytelling. In this section, I’ll cover these essential topics, laying the groundwork for Aurellia’s detailed guide on building the dashboard in Part 2.
In the big data era, the sheer volume and variety of data is actually a powerful ingredient for businesses to seek valuable insights. However, managing and interpreting the data could be incredibly complicated and time-consuming. This is where data visualization comes into play.
So, what exactly is data visualization?
Data visualization is the graphical representation of information and data. It converts complex datasets into visual elements like charts, graphs, maps and infographics, making it easier to interpret and understand intricate information quickly. We will be able to identify trends, outliers, patterns and correlations in the data. But before we delve deeper into the method, let’s first learn about the history of data visualization to how it has evolved to meet changing needs.
The 2 common types of visual representation that humans use are:
Effective data visualization involves a set of core principles that ensures that visualizations communicate insights clearly and effectively to the intended audience.
Know Your Audience
Keep Things Simple
Use the Right Chart Type
Use Colors Wisely
Highlight the Most Important Information
Avoid Clutter
When creating visualizations, it’s important to avoid common pitfalls to ensure your data is accurately represented and easily interpreted.
Traditional education often treats creative storytelling and technical analysis as separate skills, but today’s job market values professionals who excel in both. However, data visualization is a prime example of where these two areas intersect, making it a highly sought-after skill in our data-driven world. Data storytelling involves merging solid data with compelling narratives to present insights in a way that resonates with audiences. This approach relies on three essential components: data, narrative, and visuals.
By integrating these elements, data storytelling transforms complex data sets into understandable, memorable, and actionable insights. The goal is to make the data not just accessible, but also engaging and persuasive, turning dry statistics into a compelling story that drives home key points.
These are the steps to make a good data story telling
1. Crafting a Data Story
Understanding your Audiences
Different audience segments might require distinct approaches: executives might prefer high-level insights with clear business implications, while technical teams may appreciate detailed data and methodology. By customizing your story to align with these diverse expectations, you ensure that each segment receives the most relevant and impactful information, ultimately leading to better engagement and more informed decision-making.
You can use 5W + 1H formula, to craft your data story
Defining the Purpose
By focusing on a central theme or insight, you ensure that your story remains coherent and impactful. Whether your aim is to highlight performance metrics, uncover new opportunities, or address specific challenges, ensuring that your narrative supports the broader objectives of your organization helps in securing buy-in from stakeholders and reinforcing the strategic value of your insights.
Identifying Key Insights
A critical step in crafting a compelling data story is data analysis and insight extraction. The goal is to interpret the data in a way that highlights the most relevant and actionable insights, making it easier for your audience to understand the implications and take informed actions based on your findings.
2. Building the Narrative
Setting the Context
This involves providing background information and context for the data, helping your audience grasp why the data matters and how it fits into the larger picture.
Highlighting Key Insights
This means pinpointing the data points that have the greatest significance and potential impact, and then using narrative elements such as anecdotes, analogies, or visual highlights to draw attention to these insights.
Creating a Flow
This involves structuring your narrative with clear transitions and logical sequencing, making it easy for the audience to follow along.
3. Delivering the Stories
Presentation Techniques
Presentation techniques play a crucial role in effectively delivering your data story. Best practices for presenting data stories include clear articulation of key points, maintaining a logical structure, and using visuals to enhance understanding. Engaging the audience involves not just presenting the data, but also connecting with them through confident delivery, interactive elements, and storytelling techniques that keep their interest. Effective delivery ensures that your audience remains attentive, understands the insights, and is motivated to take action based on your findings.
You must also learn about design best practice, such as Visual Hierarchies, Color Theory, Typography, etc.
With a solid understanding of how to connect and optimize your data, you’re now ready to move on to Part 2, where we’ll bring this data to life. In the next section, Aurellia will guide you through building dynamic visualizations, adding interactivity with filters and controls, and creating a dashboard that tells a compelling data story.