fix(engine): editorial defaults audit#90
Conversation
…atter gridlines Audited all rendering defaults against editorial design standards (FT, Economist, Datawrapper conventions). Three fixes: 1. Tabular figures on all numeric text: added font-variant-numeric: tabular-nums to endpoint label values, bar/column/pie/dot data labels, and barlist value labels. Axis ticks, metric values, tooltip values, and table cells already had it. 2. X domain line hidden for non-grounded marks: line, area, scatter, and dot charts no longer render the x-axis baseline since their marks float above it. Bar, tick, and lollipop keep the domain line where marks are visually grounded. User-explicit axis.domain always wins. 3. Scatter charts get vertical gridlines by default, matching editorial convention for two-quantitative-axis charts. Claude-Session: https://claude.ai/code/session_01S8jmshMshTq7Gs2RYKsd5w
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (9)
📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThis PR adds ChangesTabular Numerals and Mark-Aware Axis Defaults
Estimated code review effort: 2 (Simple) | ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Audited all rendering defaults against the 12-item editorial design checklist (plan 04). 9 items passed, 3 fixed:
font-variant-numeric: tabular-numsto endpoint label values, bar/column/pie/dot data labels, and barlist value labels. Axis ticks, metrics, tooltips, and table cells already had it.axis.domainalways wins.axis.gridoverrides.Test plan
GROUNDED_MARKSto module scope, added missing dot chart tabular-numshttps://claude.ai/code/session_01S8jmshMshTq7Gs2RYKsd5w
Summary by CodeRabbit