diff --git a/components/threeVs.tsx b/components/threeVs.tsx index 32cd661..f0dc9b8 100644 --- a/components/threeVs.tsx +++ b/components/threeVs.tsx @@ -540,170 +540,172 @@ const RadarChart: FC<{ id?: number, overlay?: boolean, viewBox?: string, hovered return ( (viewBox || vb) ? - <> -
+ + )) + )} + + {/* Axis lines */} + {datasets[0].map((d, i) => { + const angle = (Math.PI * 2 * i) / datasets[0].length; + const x2 = centerX + radius * Math.cos(angle - Math.PI / 2); + const y2 = centerY + radius * Math.sin(angle - Math.PI / 2); + + // Calculate label position with dynamic offset + let labelOffset = 23; + if (d.axis === 'VARIETY') labelOffset = 45; + if (d.axis === 'VELOCITY') labelOffset = 45; + + const labelX = centerX + (radius + labelOffset) * Math.cos(angle - Math.PI / 2); + const labelY = centerY + (radius + labelOffset) * Math.sin(angle - Math.PI / 2); + + return ( + + ); + })} + +
{/* Legends */} - {overlay && ( -
+ {overlay ? ( +
{menuItems.map((item, index) => (
))}
- )} - + ) :
} +
: <> ) } - const volumeScaleLabels = ['Gigabytes', 'Terabytes', 'Petabytes', 'Exabytes']; const velocityScaleLabels = ['Manual', 'Batch', 'On Demand', 'Streaming']; const varietyScaleLabels = ['Single Source', 'Multi Source', 'Mixed Source', 'Mixed Format']; @@ -1029,18 +1030,16 @@ export default function ThreeVs(props: any) {
-
+ {/*
{!isMobile && } -
+
*/} -
-
- {isMobile && } -
+
+ {isMobile && }
-
+
This visual guide compares EdgeSet to traditional data processing systems like spreadsheets, databases, data warehouses, and data lakes in the context of the three V's of Big Data:
@@ -1301,7 +1300,7 @@ export default function ThreeVs(props: any) { ))}
- {!isMobile &&
+ {!isMobile &&
diff --git a/tailwind.config.ts b/tailwind.config.ts index 0df3ecb..fb0e902 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -292,6 +292,7 @@ const config: Config = { screens: { 'xs': '480px', 'x-390': '390px', + 'x-1400': '1400px', 'x-1440': '1440px', '3xl': '1600px', 'x-1227': '1227px',