Monday, June 12, 2017

Visualizing Data Dictionary

This is another attempt at visualizing database data dictionary. Comparing to an earlier effort, this time we added views on the foreign key relationship between the tables.

There are two major objectives in this viz design:
- Providing search to table descriptions
- Visualizing foreign key reference relationship

Here we are using the Tableau server repository data dictionary as the example. The dictionary is evolving along time. It may be quite different from what I have in the dashboard.

Following are a few screenshots from the viz.

1.The main interface for dictionary lookup.
2.Click on any foreign key to view its referenced table.
3.The foreign key relationship matrix
4.A few stats on the tables
As always, click the images for the interactive version.

Feel free to leave comments and let me know how this can be improved.

19 comments:

  1. Very nice and super helpful. Thank you very much Alex

    ReplyDelete
  2. Last year I say a tutoria of how you did this. I cannot find that page anymore. Is that not available? thanks so much for sharing..

    ReplyDelete
    Replies
    1. Maybe this one http://vizdiff.blogspot.com/2017/02/tableau-server-data-dictionary-in-viz.html

      Delete
  3. Thank you for sharing, can you show us how the underlying datamodel looks like? I.e what tables from the Tableau data dictionary are you using?

    ReplyDelete
  4. Thank you for sharing, great stuff! Can you show us what the underlying data model looks like? I.e Which tables are you using from the Tableau data dictionary?

    ReplyDelete
  5. hi how do you create the reset button to reset the wildcard search to empty

    ReplyDelete
    Replies
    1. Once published to the web server, on top-left corner, there is a button called "Revert" which allows you to reset.

      Delete
  6. How do create the reset button to empty out the previous wildcard search ?

    ReplyDelete
  7. Is the link broken? I cannot download the viz.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. Try again. Click on the image. Thanks for the alert. It was broken.
      https://public.tableau.com/profile/a.m.5517#!/vizhome/DataDictionaryViz/DataDictionary

      Delete
    3. Thanks for the link. It is working fine. Beautiful work.

      Delete
  8. Wonderful!!! Question: What versions does the dictionary apply to ? (I know the dictionary has evolved over the last few years). Maybe add it as text to the viz. Also the Data dictionary source link is broken. (Tableau probably moved things again)

    ReplyDelete
    Replies
    1. This is published in 2017. So the model is from 2017. Yes the model has evolved. This is just a framework of visualizing the dictionary behind. If you have a new model, the simplest thing we can wish for, is to replace the data source. Otherwise, you may need to tweak the dashboard and make it yours.

      Delete