Today's Highlight: add chart per entry + expand to 36 (v2.8.0)#35
Merged
Conversation
Each daily highlight now renders an ECharts mini-chart inside the card, drawn from the relevant data series. Five chart variants: - line single series (formal employment, GDP, FCI, etc.) - pair two side-by-side series (top 1% vs bottom 50%, etc.) - dual two series on shared axis (GDP vs formal emp.) - multi 3+ series with per-key normalisation (SSI/FCI/DQI) - bar-inv inverted y-axis for rank metrics (press freedom) - csv-line sourced from the supplementary CSVs (lazy-loaded) - intl grouped bars 2014 vs 2026 across peer countries Highlights expanded 14 -> 36. Each covers a distinct angle: every economic indicator, all five CSV series, three constructed indices, peer comparisons on V-Dem and press freedom, methodology angles, "try this" CTAs, and policy next steps. Over a month of distinct daily highlights before any repeat. Version 2.8.0; CITATION.cff matched; CHANGELOG entry.
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
Two improvements to Today's Highlight:
1. Every highlight now has a chart
A mini ECharts visualization inside the highlight card, drawn from the relevant data series. Seven chart variants are supported:
linepairdualmultibar-invcsv-lineintlCSV-sourced charts auto-trigger
loadCSVData()if the data hasn't been fetched yet, then re-render.2. Expanded 14 → 36 features
Over a month of distinct daily highlights before any repeat. New coverage:
Version 2.8.0.
Test plan
Generated by Claude Code