Skip to content

Conversation

@ArnavBallinCode
Copy link
Contributor

Add Historical Comparison Charts to Stats Page

Implements #287

Added interactive bar charts to the stats page that compare PyLadiesCon's progress across the last 3 years (2023, 2024, and 2025), allowing organizers and the community to visualize the conference's growth over time.

Charts Included

The following 7 bar charts are displayed comparing 2023, 2024, and 2025:

  1. Registrations Over the Years - Number of conference registrations
  2. Proposals Over the Years - Number of talk/workshop proposals submitted
  3. Number of Sponsors Over the Years - Count of sponsors
  4. Sponsorship Amount Over the Years - Total sponsorship funds in USD
  5. Number of Individual Donors Over the Years - Count of individual donors
  6. Donation Amount Over the Years - Total donation funds in USD
  7. Total Proceeds Over the Years - Combined sponsorship + donation amounts
  • 2023 & 2024 Data: Hardcoded from official blog post (https://conference.pyladies.com/2024-pyladiescon-ends/)
  • 2025 Data: Dynamically fetched from the database in real-time, including:
    • Registrations: PretixOrder model
    • Sponsors: SponsorshipProfile model
    • Sponsorship amounts: Calculated from sponsorship tiers and overrides
    • Donors: IndividualDonation model + Pretix donations
    • Donation amounts: Aggregated from both sources

Closes #287

@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for pyladiescon-portal-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit a2aa0c5
🔍 Latest deploy log https://app.netlify.com/projects/pyladiescon-portal-docs/deploys/691e1cd93f704200082d4d0d
😎 Deploy Preview https://deploy-preview-289--pyladiescon-portal-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Mariatta
Copy link
Member

Thank you for the PR. It looks good so far, and I will do one final review later on. But this is very helpful.

}
</script>
<style>
.chart-container {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be added to /portal/static/styles.css?

Copy link
Member

@Mariatta Mariatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. This looks great!

@Mariatta Mariatta merged commit d834b32 into pyladies:main Nov 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show charts to compare how we're doing vs last 2 years

2 participants