Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
avatar
Rising Star

Final article of the hybrid cloud series (see parent article here), and it's the funnest one! In this tutorial, we will learn to use Cloudera Viz to create visual apps. We will not go in depth into how to use viz, rather we will import an already existing app, executing on this part of the tutorial flow:

Screen Shot 2020-12-03 at 8.31.03 AM.png

Prerequisites

  • Complete Part 3 of the tutorial series.

Step 1: Import Viz App 

Navigate to your Management console > Data Warehouse > Open Cloudera Viz:

Screen Shot 2020-12-03 at 7.38.20 AM.png

You will be redirected to the default examples; Navigate to the DATA tab:

Screen Shot 2020-12-03 at 7.38.33 AM.png

Then, click on Default Hive VW (this is your CDW VW):

Screen Shot 2020-12-03 at 7.38.51 AM.png

Then, click on Import Visual Artifacts:

Screen Shot 2020-12-03 at 7.39.03 AM.png

Finally, import the viz app (link here) as follows:

Screen Shot 2020-12-03 at 7.41.12 AM.png

After clicking on Import, you will see a new app:

Screen Shot 2020-12-03 at 7.41.46 AM.png

Step 2: Update each maps with Mapbox token

In order for the maps to display, you will have to add a mapbox token. I will only detail one of the three dashboard edit here, but you will need to do it for each dashboard.

For this, first create an account at https://account.mapbox.com/auth/signup/ and copy your access token:

Screen Shot 2020-12-03 at 8.45.17 AM.png

Then, go to the visual app and click the Edit button:

Screen Shot 2020-12-03 at 8.46.28 AM.png

From there, click the dashboard to edit:

Screen Shot 2020-12-03 at 8.46.51 AM.png

Once clicked, click Edit:

Screen Shot 2020-12-03 at 8.47.01 AM.png

 From there, click on the map edit gear > Settings > add your Mapbox token > Save:

Screen Shot 2020-12-03 at 8.50.47 AM.png

Step 3: Use App

Once all the dashboards have been updated with the appropriate token, launch the app:

Screen Shot 2020-12-03 at 8.59.50 AM.png

You will then be able to have a daily updated visual of the Covid cases and the risk of all branches to re-open based on the spread of the virus:

Screen Shot 2020-12-03 at 7.57.52 AM.png

Screen Shot 2020-12-03 at 8.27.39 AM.pngScreen Shot 2020-12-03 at 8.27.58 AM.png
1,975 Views