Create a Simple Chart
Last updated
Last updated
In this section, we will see how you can visualize the yearly dry bulb temperature data from an EPW as a Plotly chart in a Pollination app. We're using the ladybug-charts library of Ladybug Tools to to create this chart here. This library can help you create, ladybug monthly charts, daily charts, sun path, wind rose, pyschrometric chart, and more.
Install the following libraries first
Start by importing the libraries
Set the title of the page and layout
Create an EPW object from an EPW file and then get the heatmap
figure. This method returns a Plotly figure with the dry bulb temperature data.
Finally, add the title to the page and visualize dry bulb temperature as a Plotly chart.
You should see an annual heatmap appear in the Streamlit app.