visualizationbuilder module¶
- class VisualizationBuilder(database)¶
Bases:
object
A module for creating and visualizing data queries and graphs interactively.
- Parameters:
database (object)
- database¶
The database connection or interface for executing queries.
- Type:
object
- callbacks()¶
Registers Dash callbacks for the Visualiseringsbygger module.
- Return type:
None
Notes
sqlmodal_toggle: Toggles the visibility of the query modal.
sql_query: Executes the SQL query and updates the table and dropdown options.
update_graph: Generates graphs based on selected columns and graph type.
- layout()¶
Generates the layout for the Visualiseringsbygger module.
- Returns:
A Div element containing components for querying data and visualizing graphs.
- Return type:
html.Div