Skip to main content
100%

Untitled

✓ Published1🌍 Public
XXin Li
Last edited Mar 25, 2021
Created on Mar 24, 2021
Forked from HTML Starter

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 description

Simple example using d3 flame graph plugin: https://github.com/spiermar/d3-flame-graph

MIT Licensed

Similar vizzes