- {/* Abstract background shape */}
-
+ {/* Treemap Inline Visualization */}
+ {treemapData && treemapData.length > 0 && (
+
+
+
+
Resource Map
+
+
Javascript Distribution
+
+
Script Treemap Analysis
+
Visual breakdown of your top 15 scripts by resource size. Identifying large third-party scripts is key to performance.
+
-
In-Depth Resource Treemap Analysis
-
Uncover hidden third-party scripts and Bloated assets that are stealing your performance. Interactive visual report awaits.
-
-
- Explore Treemap
-
+
+
+
+ }
+ >
+ {
+ if (active && payload && payload.length) {
+ const data = payload[0].payload;
+ return (
+
+
Resource Info
+
{data.name}
+
+
+
Total Size
+
{data.resourceSize}
+
+
+
+ );
+ }
+ return null;
+ }}
+ />
+
+
+
)}