Skip to content

refactor: Update functions to accept billType parameter in COD histogram#233

Merged
hepplerj merged 1 commit intomainfrom
refactor/revisions-rsa
Jan 15, 2026
Merged

refactor: Update functions to accept billType parameter in COD histogram#233
hepplerj merged 1 commit intomainfrom
refactor/revisions-rsa

Conversation

@hepplerj
Copy link
Copy Markdown
Member

This pull request updates the data-fetching functions in main.js to support selecting different bill-type values, making the visualization more flexible and customizable. The changes ensure that the selected bill-type is passed as a parameter to API requests, rather than being hardcoded.

API request parameterization:

  • Updated the populateCausesDropdown, populateYearsDropdown, and fetchDataAndRender functions to accept a billType argument (defaulting to 'weekly') and include it as a query parameter in their respective API requests. [1] [2] [3]

@hepplerj hepplerj merged commit 5458826 into main Jan 15, 2026
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.

1 participant