Verbatim Tutorials¶
Step by step tutorial¶
The user story¶
I’m an investor of an important fund and want to have an overview of the opportunities, risks and specific information about a country ! 💰💲
I have 20 million dollars to invest in a specific sector in a country ! Awesome 🤩
However, which sector to choose between all the sectors ?
- In which specific country should I invest ?
- What’s the additional information that can enable me to take a decision ?
- How do I make a difference between two countries with same level of risks and opportunities ?
Since I need an overview of all the risks and opportunities for different countries and sectors and additional information, let’s do a Verbatim !
Warning
Before you start!
Make sure you added your datasource to your application. Once you’re done create a new story.
The dataset¶
Here is an example of the dataset expected to create a nice Verbatim:
COUNTRY | SECTOR | RISK | OPPORTUNITY | DESCRIPTION |
---|---|---|---|---|
USA | METAL | 2 | 45 | Lorem ipsum dolor |
CANADA | PAPER | 3 | 32 | Lorem ipsum dolor |
MOROCCO | TEXTILE | 4 | 46 | Lorem ipsum dolor |
FRANCE | METAL | 1 | 87 | Lorem ipsum dolor |
USA | PAPER | 2 | 67 | Lorem ipsum dolor |
CANADA | TEXTILE | 2 | 43 | Lorem ipsum dolor |
MOROCCO | METAL | 3 | 23 | Lorem ipsum dolor |
FRANCE | PAPER | 4 | 87 | Lorem ipsum dolor |
USA | TEXTILE | 1 | 67 | Lorem ipsum dolor |
CANADA | METAL | 1 | 84 | Lorem ipsum dolor |
MOROCCO | PAPER | 3 | 32 | Lorem ipsum dolor |
FRANCE | TEXTILE | 4 | 38 | Lorem ipsum dolor |
Very simple, isn’t it ? 😉
Note
Don’t forget to add units to your Opportunities value for each country and sector to contextualize the information and give meaning to your story!
Chart Parameters¶
Warning
This chart is not yet available from the Studio interface. Just switch to code mode to setup this awesome chart!
Once my data has been setup, I just need to copy this in code mode and replace with the name of my columns in my dataset and I’m done! ✅
datasets:
my_dataset:
id: "my_dataset"
query:
domain: "tablechart"
charts: [
{
dataset: "my_dataset"
chartType: "verbatim"
categories: [
"COUNTRY"
"SECTOR"
"RISK"
"OPPORTUNITY"
]
verbatimSelector: "DESCRIPTION"
}
]