Skip to content

feat: add stacked area chart for memory breakdown visualization#1

Open
johnathan79717 wants to merge 1 commit intogh-pagesfrom
jh/stacked-area-chart
Open

feat: add stacked area chart for memory breakdown visualization#1
johnathan79717 wants to merge 1 commit intogh-pagesfrom
jh/stacked-area-chart

Conversation

@johnathan79717
Copy link
Copy Markdown
Collaborator

Summary

  • Adds renderStackedAreaGraph function for proper stacked area charts
  • Triggered by extra: "stacked-area:GROUP_NAME" (new prefix, alongside existing stacked:)
  • Shows both individual contributions and total composition with tooltip showing the sum
  • Used by the new --memory_profile_out memory profiling in barretenberg (feat: add --memory_profile_out flag for Chonk memory profiling aztec-packages#22145) to visualize polynomial memory breakdown by category over time

Test plan

  • Verify existing stacked: charts still render as overlaid lines (no regression)
  • Verify stacked-area: charts render as filled stacked areas

Add renderStackedAreaGraph function for proper stacked area charts,
triggered by extra: "stacked-area:GROUP_NAME". Unlike the existing
overlaid line charts (stacked:), area charts show both individual
contributions and total composition, with a tooltip showing the sum.

Used by the new --memory_profile_out memory profiling in barretenberg
to visualize polynomial memory breakdown by category over time.
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