The Plotly Documentation Explorer is an interactive web application designed for visualizing and exploring the structure of Plotly graph objects. It offers a powerful and user-friendly interface for understanding the hierarchical nature of Plotly's graph objects, allowing users to navigate through different levels of the object structure and access corresponding documentation.
This tool is particularly useful for developers and data scientists working with Plotly, enabling efficient exploration of the extensive Plotly graph object library and its associated properties.
You can try out the Plotly Documentation Explorer without any installation here:
https://plotly-doc-explorer-demo.onrender.com
Feel free to explore the features and functionality of the application directly in your web browser.
- Interactive treemap visualization of Plotly graph objects
- Dynamic filtering of treemap levels using range sliders
- Sorting option for treemap items
- Theme switching between light and dark modes
- Clickable treemap nodes that display corresponding documentation in an iframe
- Responsive layout adapting to various screen sizes
- Integration with official Plotly documentation for instant access to detailed information
- Python 3.11 or higher
- pipenv
-
Clone the repository:
git clone https://github.com/ionutms/plotly_doc_explorer_demo.git cd plotly_doc_explorer_demo
-
Create a virtual environment and install dependencies using pipenv:
pipenv install
-
Activate the virtual environment:
pipenv shell
-
Run the application:
python app.py
The application should now be running on http://localhost:8050
(or another port if specified).
- Select a Plotly graph object type from the radio button options at the top of the page.
- Use the range sliders to filter the levels of the treemap visualization:
- Level 1 items: Filter the top-level properties
- Level 2 items: Filter the second-level properties
- Level 3 items: Filter the third-level properties
- Toggle the "Sort graph items" switch to change the ordering of items in the treemap.
- Click on any node in the treemap to view its corresponding documentation in the iframe on the right.
- Use the theme switch in the top right corner to toggle between light and dark modes.
The Plotly Documentation Explorer consists of several key components:
- Radio buttons for selecting the main Plotly graph object type
- Range sliders for filtering treemap levels
- Interactive treemap visualization
- Documentation iframe for displaying selected item details
- Theme switch for toggling between light and dark modes
Here are some key screenshots of the Plotly Documentation Explorer in action:
- Main Interface
The main interface of the Plotly Documentation Explorer, showing the treemap visualization and control panels.
- Documentation View
An example of the documentation view when a specific item is selected in the treemap.
This project is licensed under the MIT License - see the LICENSE file for details.