Figure Friday 2024 – w50

This week’s Figure Friday focuses on commodity markets and their monthly price trends. The visualization includes:, a sparkline showing price trends over the past 12 months, price changes over the last month and a comparison with the previous month.

Demo

Py.cafe : demo

Community link: link

Example contains:

  • AG Grid with search and sort functions for easy navigation of the data.
  • Conditional formatting to adjust the background color of a column based on specific conditions.
  • Sparkline for each product to display its price trend.
  • Display of min/max points on the sparkline for clear data insights.
  • No categories: To enable this feature, you would need the Enterprise version of AG Grid.

Figure Friday is an initiative from the Dash/Plotly community. Every friday a new dataset is made available with some basic code to show a visual and an explanation of the subject. People are invited to adjust the code and improve the visual or create a small app. The next friday a zoom session takes place where some explain why they made what they made and others can give feedback, all in a constructive and respectful atmosphere. In the thread on the community site people share their visual, code and a demo if possible.