Connectors

Contact support

Data Visualization (Streamlit)

Data Visualization (Streamlit)

Build apps to visualize your data in Peliqan using charts, tables and interactive components thans to Peliqan’s built-in Streamlit module.

Note that there are other options in Peliqan for data visualizations:

Simple charting templates

st is the Streamlit module, a powerful library to build data visualizations and interactive data apps. Click here for the Streamlit documentation.

Line chart & bar chart:

dbconn = pq.dbconnect(pq.DW_NAME) 
data = dbconn.fetch('db_name', 'schema_name', 'table_name')

st.line_chart(data)

st.bar_chart(data, x = "country", y = "revenue")

Bar chart with a row count:

import altair as alt

dbconn = pq.dbconnect(pq.DW_NAME) 
data = dbconn.fetch('db_name', 'schema_name', 'table_name')

chart_definition = alt.Chart(customers).mark_bar().encode(
    x = "country",
    y = {"aggregate": "count"}
)

st.altair_chart(chart_definition)

Streamlit allows you to add Altair charts. View the Altair documentation for more information.