Blog Layout

Chapter #1 - Getting to know the data

Mar 03, 2023

Our journey begins...

The tool that was chosen for Data-Topia's project: ThoughtSpot


Let's start with the database:


Dimension Tables and Facts for Data-Topia Kingdom

Dimension Tables

1. Population Table

This table contains information about the population of various regions in Data-Topia.

Column Name Data Type Description
region_id integer Unique identifier for the region
population integer Total population of the region
ruler_name varchar(50) Name of the region's ruler
language varchar(50) The predominant language spoken in the region
year int The year when the population was counted

2. Food Table

This table contains information about the food preferences and availability in Data-Topia.

Column Name Data Type Description
food_id integer Unique identifier for the food
food_name varchar(50) Name of the food
region_id integer The region where the food is predominantly consumed

3. Culture Table

This table contains information about the culture and traditions of different regions of Data-Topia.

Column Name Data Type Description
region_id integer Unique identifier for the region
month int(2) Month of the year when the event happens
cultural_events varchar(200) Major cultural events celebrated in the region
traditional_attire varchar(50) Traditional clothing worn in the region

4. Trade Table

This table contains information about the trade routes and commodities traded in Data-Topia.

Column Name Data Type Description
trade_id integer Unique identifier for the trade route
trade_route varchar(100) Name of the trade route
region_id integer The region where the trade route begins
commodity varchar(50) The commodity traded along the route
trade_partner varchar(50) The region where the commodity is traded

Facts

1. Trade Fact Table

This fact table contains information about the trade volume and revenue generated by different trade routes in Data-Topia.

Column Name Data Type Description
trade_id integer Unique identifier for the trade route
region_id integer The region where the trade route begins
trade_volume integer The volume of the commodity traded
revenue decimal The revenue generated by the trade
date date Date when the trade happened

2. Climate Fact Table

This fact table contains information about the effect of climate on the food availability in different regions of Data-Topia.

Column Name Data Type Description
region_id integer Unique identifier for the region
temperature integer Average temperature in Celsius
precipitation decimal Average precipitation in mm
date date Registered date
food_id integer Unique identifier for the food
availability varchar(1) Whether the food is easily available or not
is_delicious boolean Whether the food is considered delicious or not

Fun Fact

Data-Topia is known for its unique cuisine, with each region having its own specialties. The most popular dish in the kingdom is the 'Data-Biryani', a spicy rice dish made with locally grown herbs and spices.


Our next chapter will show how to model those tables in ThoughtSpot.


Stay tunned.


17 Mar, 2023
Parameters in ThoughtSpot are tremendous and can be used in many different ways. One of my favorites is switching attributes and metrics without needing the SQL to be re-generated. Let me show you how I do it: Create a worksheet and add two new parameters—one for the attributes and the other for the metrics . Geo Selector:
By site-qvIZ7w 08 Mar, 2023
Enhance your google sheets with a ThoughtSpot extension for Free!
By site-qvIZ7w 21 Feb, 2023
Once upon a time, in a land far, far away, there was a kingdom called "Data-topia". The citizens of Data-topia were keen on keeping track of all their activities and wanted to know everything happening in their kingdom. They were so obsessed with data that they even named their king "Data-licious"! One day, a group of brave adventurers embarked on a journey to explore the kingdom and create a project that could help the citizens make sense of all the data they had collected. They called themselves the "Data Busters," and their project was named "Data-saurus". The Data Busters traveled far and wide, collecting data from every corner of the kingdom. Unfortunately, they encountered many obstacles along the way, including a mischievous dragon who would constantly breathe fire on their spreadsheets and a group of trolls who would steal their charts and graphs. Despite these challenges, the Data Busters persevered and finally completed their project, which they called "Data-topia's Delight." The citizens of Data-topia were overjoyed with the new tool and threw a huge celebration in honor of the Data Busters. They even renamed the king "Data-mite"! And so, the Data Busters and their Data-Saurus lived happily ever after, continuing to help the citizens of Data-topia make sense of all their data and ensuring that the kingdom remained at the forefront of the data revolution. In this crazy, funny series, you will pick this new tool that the citizens of "Data-topia" used. I'll create a project from scratch, and with your help, we will identify the business requirements, data, reports, and dashboards that will be used in this project. Answer this pool to choose the destiny of this history. Choose wisely.
Share by: