Skip to content

Optimize#676

Merged
emeeks merged 3 commits into
mainfrom
optimize
Mar 1, 2026
Merged

Optimize#676
emeeks merged 3 commits into
mainfrom
optimize

Conversation

@emeeks

@emeeks emeeks commented Mar 1, 2026

Copy link
Copy Markdown
Member
  • Reduce dependency loading by splitting monolithic network processing and SVG layout modules into focused, lazy-loadable files
    (chord, force, hierarchy, sankey, contour, hexbin, swarm layouts)
  • Add Recipes section to docs with 3 dashboard-oriented examples: KPI Card + Sparkline, Time Series with Brush, and Network
    Explorer
  • Add interactive Playground section to docs with Storybook-like knob controls for 4 HOC chart components (LineChart, BarChart,
    Scatterplot, ForceDirectedGraph) — users adjust props via form controls and see charts update in real time with auto-generated code

Test plan

  • npm start — dev server starts, no build errors
  • Navigate to /playground — index page renders 4 cards with thumbnails
  • /playground/line-chart — chart renders; toggle each control type (slider, toggle, dropdown, text) and verify chart updates
  • /playground/bar-chart — sort dropdown works ("none" correctly omits the prop); orientation switch flips bars
  • /playground/scatterplot — dataset picker switches between height/weight, grouped, and bubble datasets
  • /playground/force-directed-graph — color picker updates edge color; force strength and iterations affect layout
  • Reset button restores all controls to defaults on every playground page
  • Generated code block updates live and only includes non-default props
  • Copy button on code block copies valid JSX
  • Sidebar nav shows "Playground" section with 4 children between Recipes and SSR
  • Breadcrumbs and prev/next navigation work across playground pages
  • Narrow viewport to 600px — controls grid collapses to single column
  • Toggle dark/light mode — all playground controls adapt
  • /recipes — index and all 3 recipe pages render correctly
  • Verify no regressions on existing chart, frame, and feature pages

@vercel

vercel Bot commented Mar 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
semiotic Error Error Mar 1, 2026 6:37am

Request Review

@emeeks emeeks merged commit a3a7b77 into main Mar 1, 2026
4 of 5 checks passed
@rgbkrk rgbkrk deleted the optimize branch March 1, 2026 16:39
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