import React from 'react'; import LineChart from '../../charts/LineChart09'; // Import utilities import { tailwindConfig } from '../../utils/Utils'; function FintechCard14() { const miniCharts = [ // Twitter { data: [ 540, 466, 540, 466, 385, 432, 334, 334, 289, 289, 200, 289, 222, 289, 289, 403, 554, 304, 289, 270, 134, 270, 829, 644, 688, 664, ], growth: true, }, // Facebook { data: [ 245, 288, 332, 404, 404, 314, 314, 314, 314, 314, 234, 314, 234, 234, 314, 314, 314, 388, 314, 202, 202, 202, 202, 514, 720, 642, ], growth: true, }, // Google { data: [ 732, 610, 610, 504, 504, 504, 349, 349, 504, 342, 504, 610, 391, 192, 154, 273, 191, 191, 126, 263, 349, 252, 323, 322, 270, 232, ], growth: false, }, // Apple { data: [ 222, 222, 226, 271, 365, 365, 238, 324, 288, 206, 324, 324, 500, 409, 409, 273, 232, 273, 500, 570, 767, 808, 685, 767, 685, 685, ], growth: true, }, // Coinbase { data: [ 632, 510, 610, 404, 504, 404, 449, 349, 404, 542, 404, 410, 491, 392, 254, 273, 291, 191, 226, 363, 449, 252, 223, 222, 170, 132, ], growth: false, }, ]; const chartData = []; const buildChartData = (chart) => { var obj = { labels: [ '12-01-2020', '01-01-2021', '02-01-2021', '03-01-2021', '04-01-2021', '05-01-2021', '06-01-2021', '07-01-2021', '08-01-2021', '09-01-2021', '10-01-2021', '11-01-2021', '12-01-2021', '01-01-2022', '02-01-2022', '03-01-2022', '04-01-2022', '05-01-2022', '06-01-2022', '07-01-2022', '08-01-2022', '09-01-2022', '10-01-2022', '11-01-2022', '12-01-2022', '01-01-2023', ], datasets: [ // Line { data: chart.data, borderColor: chart.growth ? tailwindConfig().theme.colors.emerald[500] : tailwindConfig().theme.colors.rose[500], borderWidth: 2, tension: 0, pointRadius: 0, pointHoverRadius: 3, pointBackgroundColor: chart.growth ? tailwindConfig().theme.colors.emerald[500] : tailwindConfig().theme.colors.rose[500], clip: 20, }, ], } return obj; }; miniCharts.map((miniChart) => { chartData.push(buildChartData(miniChart)); }); return (

Market Trends

{/* Table */}
{/* Table header */} {/* Table body */} {/* Row */} {/* Row */} {/* Row */} {/* Row */} {/* Row */}
Market
Mkt Cap
Chart
Price
Chg. (24h)
Twtr
Twitter Inc.
33.94B
{/* Chart built with Chart.js 3 */}
{/* Change the height attribute to adjust the chart height */}
$43.07
+$4.20 (4%)
Fb
Meta Inc.
903.71B
{/* Chart built with Chart.js 3 */}
{/* Change the height attribute to adjust the chart height */}
$324.81
+$12.20 (3.7%)
Googl
Alphabet Inc.
1.70T
{/* Chart built with Chart.js 3 */}
{/* Change the height attribute to adjust the chart height */}
$2,860.96
-$12.20 (3.7%)
Aapl
Apple Inc.
2.77T
{/* Chart built with Chart.js 3 */}
{/* Change the height attribute to adjust the chart height */}
$168.55
+$7.44 (1.4%)
Coin
Coinbase Global Inc.
50.89B
{/* Chart built with Chart.js 3 */}
{/* Change the height attribute to adjust the chart height */}
$236.48
-$24,30 (6.2%)
); } export default FintechCard14;