sda.dashboard.components.graphs#

Graph Components.


Reusable graph components for the dashboard with Spark styling.

Functions#

create_graph_component(graph_id[, height, width])

Create a graph component with consistent styling.

Module Contents#

sda.dashboard.components.graphs.create_graph_component(graph_id, height=None, width=None)#

Create a graph component with consistent styling.

Parameters:
  • graph_id (str) – ID for the graph component

  • height (str, optional) – Height of the graph (e.g., “80vh”, “500px”)

  • width (str, optional) – Width of the graph (e.g., “100%”, “800px”)

Returns:

Configured graph component

Return type:

dcc.Graph