Untitled
✓ Published1🌍 Public
A flame graph visualizes hierarchical profiling data, showing how time accumulates across nested function calls. The chart uses the d3-flame-graph plugin, built on D3 v4, to render stacked rectangles sized by each function’s value. The `flamegraph()` constructor sets the width, and `d3.json` loads the data from `data.json`. Clicking a frame logs its name, while a button calls `chart.resetZoom()` to restore the original view.
AI-generated descriptionSimple example using d3 flame graph plugin: https://github.com/spiermar/d3-flame-graph
MIT Licensed