Add economic indicators dashboard#27
Open
mikaalnaik wants to merge 4 commits into
Open
Conversation
Add /economic-indicators dashboard showing how Canada compares against G7/OECD peers across growth, productivity, incomes, inequality, and housing, backed by a new /api/economy/series proxy and economy API client. Includes a Canvas view (/economic-indicators/canvas) to overlay and compare up to three indicator series, with indexed and raw scale modes. Nav link for Economy is hidden for now while the dashboard is in progress. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Section links follow the reader below the global navbar, highlight the section currently in view, and jump forward on click. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pass selectedEntityColors so Canada renders as auburn-600 (#c43e3e) on every chart instead of a scheme-assigned color that varied per chart. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Renders york_factory's new inflation-cpi-annual measure in the Overall Economy section; the canvas picker and API proxy pick it up from the shared catalog automatically. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Economic Indicators dashboard showing how Canada stacks up against its G7/OECD peers across growth, productivity, incomes, inequality, and housing.
/economic-indicators— sectioned dashboard of indicator charts, each with source attribution/economic-indicators/canvas— overlay & compare up to three indicator series, with indexed (first shared year = 100) and raw scale modes; shareable via URL params/api/economy/seriesproxy route + economy API client (src/lib/api/economy.ts)UI notes
Testing
npm run lint— passes (only pre-existing warnings in unrelatedbills/files)npx tsc --noEmit— passes🤖 Generated with Claude Code