Welcome to visualization_toolkit’s documentation!#
The visualization_toolkit contains utilities to create interactive charts, and data applications based on plotly and dash while following company styling.
The toolkit is the foundational package installed on every Atlas application to power analytics.
Getting Started#
Installing in a python project#
The
visualization_toolkitcan be used in a python project and is commonly installed in a dash applicationIf you are using the Atlas Repo Template, the dependencies are already in
requirements.txt. Runmake setupto install the library.For general python use (make sure Jfrog is configured in your environment):
pip install visualization-toolkit
Import the library in python
from visualization_toolkit.helpers.plotly import chart
fig = chart(...)
Installing from Databricks#
In Databricks notebooks, the
visualization_toolkitoperates the same way as a repo-based libraryAdd this to the top of your notebook as a cell
import sys
sys.path.append("/Workspace/Repos/ETL_Production/visualization_toolkit")
Then in subsequent notebook cells, import the library in python and use
from visualization_toolkit.helpers.plotly import chart
fig = chart(...)
display(fig)
The
chartfunction returns a plotlygo.Figureobject. If this is returned in a cell it will automatically display the figure. In addition, you can calldisplay(figure)in databricks to visualize inside a cell.
Using the documentation#
Navigate to each module of the visualization_toolkit to learn about the functions provided and how to use them.
plotly: Contains functions using plotly for generating charts in databricks or dash-based apps.
dash: Contains standard functions to simplify dash application development. Used by Atlas applications.
chart recipes: Contains many examples of how to create and tune charts with live outputs. Recommended to reference these examples when learning to build visualizations.
Contents:
plotlymodulethememoduledashmodule- Core Component Functions
- Core Dash Functions
- Core Databricks Functions
- Core Query Template Functions
- Core Export Functions
- Core Analytics Functions
user_store()visibility_store()control_store()pendo_initialize_callback()pendo_track_click_callback()pendo_track_input_callback()pendo_track_select_callback()pendo_track_select_range_callback()pendo_track_visible_elements_callback()pendo_track_table_sort_callback()pendo_track_table_filter_callback()pendo_track_page_load_callback()
- Core Celery Functions
- Core System Monitoring Functions
- chart recipes