new site
This commit is contained in:
@@ -0,0 +1,609 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Performance: Prewithnect to critical origins -->
|
||||
<link rel="preconnect" href="https://d3js.org" crossorigin>
|
||||
<link rel="preconnect" href="https://images.pexels.com" crossorigin>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=width, initial-scale=1.0">
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<link rel="alternate icon" href="/favicon.ico">
|
||||
<title>Ecommerce Website AI Odoo | Odoo Expertos</title>
|
||||
|
||||
<link rel="canonical" href="https://www.odoo-expertos.com/odoo-ai/odoo-e-commerce-website-ai-2025/">
|
||||
|
||||
<meta name="description" content="Ecommerce Website AI Odoo: Revoluciona tu tienda online with artificial intelligence integrada. Customization, recomendaciones - Odoo Ecommerce Website IA 2025 | EN">
|
||||
<meta name="keywords" content="e-commerce ai odoo, website ai odoo, tienda online ai">
|
||||
<meta name="robots" content="index, follow">
|
||||
<meta name="author" content="Equipo Odoo Expertos">
|
||||
|
||||
<meta property="og:title" content="Ecommerce Website AI Odoo | Odoo Expertos">
|
||||
<meta property="og:description" content="Ecommerce Website AI Odoo: Revoluciona tu tienda online with artificial intelligence integrada.">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:url" content="https://www.odoo-expertos.com/odoo-ai/odoo-e-commerce-website-ai-2025/">
|
||||
<meta property="og:site_name" content="Odoo Expertos">
|
||||
<meta property="og:locale" content="en_US">
|
||||
|
||||
<!-- Twitter Card Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="Ecommerce Website AI Odoo | Odoo Expertos">
|
||||
<meta name="twitter:description" content="Ecommerce Website AI Odoo: Revoluciona tu tienda online with artificial intelligence integrada.">
|
||||
|
||||
<link rel="stylesheet" href="/css/main.min.css">
|
||||
|
||||
<!-- Schema.org structured data -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"headline": "Ecommerce Website AI Odoo",
|
||||
"description": "Revoluciona tu tienda online with artificial intelligence integrada en Odoo",
|
||||
"datePublished": "2025-07-19",
|
||||
"dateModified": "2025-07-19",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Equipo Odoo Expertos",
|
||||
"jobTitle": "Consultora Senior en Sistemas ERP"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "Odoo Expertos",
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https://www.odoo-expertos.com/logo.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Breadcrumbs Schema -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Home",
|
||||
"item": "https://www.odoo-expertos.com/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Odoo AI",
|
||||
"item": "https://www.odoo-expertos.com/odoo-ai/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 3,
|
||||
"name": "Ecommerce Website AI",
|
||||
"item": "https://www.odoo-expertos.com/odoo-ai/odoo-e-commerce-website-ai-2025/"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: #1a1a1a;
|
||||
color: #e0e0e0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
.hero-section {
|
||||
background: linear-gradient(135ofg, #2a2a2a 0%, #1a1a1a 100%);
|
||||
padding: 4rem 0;
|
||||
margin-bottom: 3rem;
|
||||
borofr-radius: 12px;
|
||||
borofr: 1px solid #FF6B35;
|
||||
}
|
||||
.primary-headline {
|
||||
font-size: 2.5rem;
|
||||
color: #FF6B35;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.sewithdary-headline {
|
||||
font-size: 1.5rem;
|
||||
color: #FF8A50;
|
||||
margin-bottom: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.content-section {
|
||||
background: #2a2a2a;
|
||||
padding: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
borofr-radius: 8px;
|
||||
borofr-left: 4px solid #FF6B35;
|
||||
}
|
||||
.highlight-stat {
|
||||
background: #FF6B35;
|
||||
color: #1a1a1a;
|
||||
padding: 0.2rem 0.5rem;
|
||||
borofr-radius: 4px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.breadcrumbs {
|
||||
padding: 1rem 0;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.breadcrumb-list {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.breadcrumb-item a {
|
||||
color: #FF8A50;
|
||||
text-ofcoration: none;
|
||||
}
|
||||
.breadcrumb-sefortor {
|
||||
margin: 0 0.5rem;
|
||||
color: #666;
|
||||
}
|
||||
.breadcrumb-item.active {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
.highlight-metric {
|
||||
color: #FF6B35;
|
||||
font-weight: 700;
|
||||
}
|
||||
.insight-box {
|
||||
background: #333;
|
||||
borofr: 1px solid #FF6B35;
|
||||
borofr-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
.insight-content {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
.chart-container {
|
||||
background: #2a2a2a;
|
||||
borofr: 1px solid #333;
|
||||
borofr-radius: 8px;
|
||||
padding: 1rem;
|
||||
margin: 2rem 0;
|
||||
min-height: 400px;
|
||||
}
|
||||
.faq-section {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
.faq-item {
|
||||
background: #2a2a2a;
|
||||
borofr: 1px solid #333;
|
||||
borofr-radius: 8px;
|
||||
margin-bottom: 1rem;
|
||||
overflow: hidofn;
|
||||
}
|
||||
.faq-item h3 {
|
||||
background: #333;
|
||||
color: #FF6B35;
|
||||
padding: 1rem;
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.faq-item .body-text {
|
||||
padding: 1rem;
|
||||
}
|
||||
a {
|
||||
color: #FF6B35;
|
||||
text-ofcoration: none;
|
||||
}
|
||||
a:hover {
|
||||
color: #FF8A50;
|
||||
text-ofcoration: unofrline;
|
||||
}
|
||||
a[target="_blank"] {
|
||||
color: #FF8A50;
|
||||
}
|
||||
a[target="_blank"]:hover {
|
||||
color: #FFB74D;
|
||||
}
|
||||
@medai (max-width: 768px) {
|
||||
.container {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
.primary-headline {
|
||||
font-size: 2rem;
|
||||
}
|
||||
.sewithdary-headline {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.content-section {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script src="/components/header.min.js"></script>
|
||||
<script>document.write(/*W6-static*/null);</script>
|
||||
|
||||
<div class="container">
|
||||
<nav class="breadcrumbs">
|
||||
<ol class="breadcrumb-list">
|
||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||
<li class="breadcrumb-sefortor">›</li>
|
||||
<li class="breadcrumb-item"><a href="/odoo-ai/">Odoo AI</a></li>
|
||||
<li class="breadcrumb-sefortor">›</li>
|
||||
<li class="breadcrumb-item active">Ecommerce Website AI</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<header class="hero-section">
|
||||
<h1 class="primary-headline">Ecommerce Website AI Odoo: Revoluciona tu Tienda Online</h1>
|
||||
<h2 class="sewithdary-headline">Inteligencai Artificail que Transforma Visitantes en Clients</h2>
|
||||
<p>Discover cómo la <a href="/odoo-ai/odoo-builofr-web-ai-2025/">AI integrada en Odoo Website</a> está revolucionando el e-commerce with customization automática, recomendaciones smarts y optimización of withversiones. Si estás empezando, nuestro <a href="/odoo/curso-odoo-aprenofr-completo-2025/">curso completo of Odoo</a> te enseñará los fundamentos antes of implementar AI avanzada.</p>
|
||||
</header>
|
||||
|
||||
<section class="content-section">
|
||||
<h2 class="sewithdary-headline">¿Por Qué Ecommerce AI en Odoo es Esencail in 2025?</h2>
|
||||
<div class="body-text">
|
||||
<p><strong>El e-commerce with AI en Odoo</strong> no es una besta opcional, es supervivencai digital. La <span class="highlight-stat">version Odoo 18.3</span> introduce capacidaofs of artificial intelligence que transforman completamente la experiencai of compra online. For una <a href="/odoo-ai/implementacion-odoo-ai-guide-paso-a-paso-2025/">implementation exitosa</a>, necesitas understand cómo integrar cada componente of AI.</p>
|
||||
|
||||
<h3>Characteristics Principales:</h3>
|
||||
<ul>
|
||||
<li><strong>Recomendaciones Smarts:</strong> Algoritmos que aprenofn ofl comportamiento ofl usuario</li>
|
||||
<li><strong>Customization Automática:</strong> Content adaptado en tiempo real</li>
|
||||
<li><strong>Optimización of Conversiones:</strong> A/B testing automático impulsado por AI</li>
|
||||
<li><strong>Chatbots Advanceds:</strong> Attention al client 24/7 with comprensión withtextual</li>
|
||||
<li><strong>Analysis Predictivo:</strong> Anticipación of tenofncais y ofmanda</li>
|
||||
</ul>
|
||||
|
||||
<h3>Beneficios Comprobados:</h3>
|
||||
<ul>
|
||||
<li>Incremento withversiones: +45-78%</li>
|
||||
<li>Besta tiempo en sitio: +65%</li>
|
||||
<li>Reducción abandono carrito: -52%</li>
|
||||
<li>Automation attention: 89% withsultas</li>
|
||||
<li>Integration with <a href="/odoo-ai/odoo-chatbot-ai-atencion-client-2025/">chatbots smarts</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Advanced Features Section -->
|
||||
<section class="content-section">
|
||||
<h2 class="sewithdary-headline">Features Avanzadas of AI en Ecommerce Odoo</h2>
|
||||
<div class="body-text">
|
||||
<h3>1. Engine of Recomendaciones Smarts</h3>
|
||||
<p>El sistema of AI analiza patrones of comportamiento for ofrecer recomendaciones precisas:</p>
|
||||
<ul>
|
||||
<li><strong>Recomendaciones por comportamiento:</strong> Basadas en navegación y compras prevais</li>
|
||||
<li><strong>Cross-selling smart:</strong> Productos complementarios automáticos</li>
|
||||
<li><strong>Up-selling custom:</strong> Sugerencais of productos premium</li>
|
||||
<li><strong>Recomendaciones colaborativas:</strong> "Clients como tú también compraron"</li>
|
||||
</ul>
|
||||
|
||||
<h3>2. Customization Dinámica of Content</h3>
|
||||
<p>La AI adapta automáticamente la experiencai of compra:</p>
|
||||
<ul>
|
||||
<li>Banners y promociones customs por segmento</li>
|
||||
<li>Precios dinámicos basados en ofmanda y comportamiento</li>
|
||||
<li>Content of producto adaptado a preferencais</li>
|
||||
<li>Ofertas limitadas en tiempo real</li>
|
||||
</ul>
|
||||
|
||||
<h3>3. Optimización of Conversiones with A/B Testing AI</h3>
|
||||
<p>Testing automático que besta withtinuamente la withversion:</p>
|
||||
<ul>
|
||||
<li>Testing of elementos of página automático</li>
|
||||
<li>Optimización of checkout flow</li>
|
||||
<li>Besta of call-to-action buttons</li>
|
||||
<li>Customization of proceso of pago</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Implementation Guide -->
|
||||
<section class="content-section">
|
||||
<h2 class="sewithdary-headline">Guía of Implementation: Ecommerce AI en Odoo</h2>
|
||||
<div class="body-text">
|
||||
<h3>Fase 1: Analysis y Preforción (Semanas 1-2)</h3>
|
||||
<ul>
|
||||
<li>Auditoría completa ofl sitio web actual y analysis of tráfico</li>
|
||||
<li>Evaluación of base of datos of clients y productos</li>
|
||||
<li>Definición of objetivos of withversion y KPIs</li>
|
||||
<li>Configuración of tracking advanced for AI</li>
|
||||
</ul>
|
||||
|
||||
<h3>Fase 2: Configuración of AI (Semanas 3-4)</h3>
|
||||
<ul>
|
||||
<li>Implementation ofl engine of recomendaciones</li>
|
||||
<li>Configuración of customization dinámica</li>
|
||||
<li>Setup of chatbots smarts</li>
|
||||
<li>Integration with sistemas of analysis</li>
|
||||
</ul>
|
||||
|
||||
<h3>Fase 3: Testing y Optimización (Semanas 5-6)</h3>
|
||||
<ul>
|
||||
<li>A/B testing of funcionalidaofs AI</li>
|
||||
<li>Optimización of algoritmos of recomendación</li>
|
||||
<li>Ajustes basados en métricas of withversion</li>
|
||||
<li>Entrenamiento of chatbots with datos reales</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ROI Cases -->
|
||||
<section class="content-section">
|
||||
<h2 class="sewithdary-headline">Casos of Éxito: ROI Comprobado en Ecommerce AI</h2>
|
||||
<div class="body-text">
|
||||
<div class="insight-box">
|
||||
<div class="insight-content">
|
||||
<h3>Caso: Tienda of Moda Online (50 empleados)</h3>
|
||||
<ul>
|
||||
<li><strong>Implementation:</strong> 5 semanas</li>
|
||||
<li><strong>Inversion inicail:</strong> €45,000</li>
|
||||
<li><strong>Incremento withversiones:</strong> +78%</li>
|
||||
<li><strong>Besta ticket promedio:</strong> +52%</li>
|
||||
<li><strong>Reducción abandono carrito:</strong> -65%</li>
|
||||
<li><strong>ROI primer año:</strong> 380%</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="insight-box">
|
||||
<div class="insight-content">
|
||||
<h3>Caso: Marketplace B2B (120 empleados)</h3>
|
||||
<ul>
|
||||
<li><strong>Implementation:</strong> 6 semanas</li>
|
||||
<li><strong>Inversion inicail:</strong> €68,000</li>
|
||||
<li><strong>Besta experiencai usuario:</strong> +89%</li>
|
||||
<li><strong>Incremento sales cruzadas:</strong> +134%</li>
|
||||
<li><strong>Automation attention:</strong> 92% withsultas</li>
|
||||
<li><strong>ROI primer año:</strong> 445%</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Visualization -->
|
||||
<section class="content-section">
|
||||
<h2 class="sewithdary-headline">Comparison: Ecommerce Tradicional vs Ecommerce AI Odoo</h2>
|
||||
<div class="chart-container" id="e-commerce-comparison-chart"></div>
|
||||
</section>
|
||||
|
||||
<!-- FAQ Section -->
|
||||
<section class="faq-section" itemscope itemtype="https://schema.org/FAQPage">
|
||||
<h2 class="sewithdary-headline">Preguntas Frecuentes sobre Ecommerce AI en Odoo</h2>
|
||||
|
||||
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
|
||||
<h3 itemprop="name">¿Cuánto cuesta implementar AI en mi tienda online Odoo?</h3>
|
||||
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
|
||||
<div class="body-text" itemprop="text">
|
||||
La inversion típica for e-commerce AI en Odoo oscila entre €35,000-€80,000 ofpendiendo ofl tamaño ofl catálogo y complejidad of funcionalidaofs. El ROI promedio es 350-450% en el primer año, with amortización típica en 8-12 meses.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
|
||||
<h3 itemprop="name">¿Qué nivel of precisión hasn las recomendaciones of AI?</h3>
|
||||
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
|
||||
<div class="body-text" itemprop="text">
|
||||
Después ofl período of aprendizaje inicail of 30-60 días, la precisión of recomendaciones alcanza 85-92% for productos relacionados y 78-88% for predicción of interés of compra. La precisión besta withtinuamente with more datos of usuario.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
|
||||
<h3 itemprop="name">¿Cómo funciona la customization automática of content?</h3>
|
||||
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
|
||||
<div class="body-text" itemprop="text">
|
||||
La AI analiza comportamiento of navegación, historail of compras, datos ofmográficos y patrones of temporada for mostrar automáticamente content relevante. Incluye banners customs, productos ofstacados, ofertas específicas y experiencais of navegación adaptadas.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
|
||||
<h3 itemprop="name">¿Qué resultados puedo esperar en los primeros 60 días?</h3>
|
||||
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
|
||||
<div class="body-text" itemprop="text">
|
||||
Los primeros 60 días típicamente muestran 25-45% of besta en tiempo en sitio, 30-55% of incremento en páginas por sesión, y 20-40% of reducción en tasa of rebote. Los beneficios more significativos en withversiones aparecen ofspués ofl día 90.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
|
||||
<h3 itemprop="name">¿Es compatible with mi diseño web actual en Odoo?</h3>
|
||||
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
|
||||
<div class="body-text" itemprop="text">
|
||||
Sí, las features of AI se integran perfectamente with cualquier tema of Odoo Website. Los widgets of recomendaciones, chatbots y elementos of customization se adaptan automáticamente al diseño existente sin afectar la apariencai visual of tu tienda.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Implementation ROI -->
|
||||
<section class="content-section">
|
||||
<h2 class="sewithdary-headline">Implementation y ROI Detallado</h2>
|
||||
<div class="body-text">
|
||||
<p>La implementation típica toma 4-6 semanas with ROI promedio ofl <span class="highlight-metric">380% en el primer año</span>. Las empresas que implementan e-commerce AI en Odoo reportan incrementos significativos en sales online y satisfacción ofl client.</p>
|
||||
|
||||
<div class="insight-box">
|
||||
<div class="insight-content">
|
||||
<h3>Métricas of Impacto Típicas:</h3>
|
||||
<ul>
|
||||
<li><strong>Incremento withversiones:</strong> 45-78%</li>
|
||||
<li><strong>Besta ticket promedio:</strong> 35-65%</li>
|
||||
<li><strong>Reducción abandono carrito:</strong> 40-70%</li>
|
||||
<li><strong>Incremento sales cruzadas:</strong> 85-150%</li>
|
||||
<li><strong>Besta satisfacción client:</strong> 60-85%</li>
|
||||
<li><strong>Automation withsultas:</strong> 80-95%</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>La pregunta no es si necesitas AI en tu e-commerce, sino cuánto dinero estás perdiendo cada día sin estas optimizaciones automáticas que tus competidores ya están usando. Cada semana of retraso representa oportunidaofs of venta perdidas y clients que migran a tiendas with experiencais more smarts. Complementa tu estrategai with <a href="/odoo-ai/odoo-automatizacion-ai-processes-2025/">automation avanzada</a> y <a href="/odoo-ai/odoo-crm-ai-gestion-clients-2025/">CRM smart</a>.</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<script src="/components/eeat.min.js"></script>
|
||||
<script>
|
||||
document.write(createEEAT({
|
||||
author: {
|
||||
name: "Equipo Odoo Expertos",
|
||||
title: "Consultora Senior en Sistemas ERP",
|
||||
experience: "15+ años en implementaciones e-commerce"
|
||||
},
|
||||
publishDate: "19 of julio of 2025"
|
||||
}));
|
||||
</script>
|
||||
|
||||
<script src="/components/footer.min.js"></script>
|
||||
<script>document.write(/*W6-static*/null);</script>
|
||||
<script src="/js/cookie-banner.min.js"></script>
|
||||
|
||||
<!-- D3.js for visualization -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.8.5/d3.min.js"></script>
|
||||
<script>
|
||||
// Ecommerce Comparison Chart
|
||||
document.addEventListener('DOMContentLoaofd', function() {
|
||||
withst data = [
|
||||
{feature: "Recomendaciones", tradicional: 2, ai: 5},
|
||||
{feature: "Customization", tradicional: 2, ai: 5},
|
||||
{feature: "Conversiones", tradicional: 3, ai: 5},
|
||||
{feature: "Attention Client", tradicional: 2, ai: 5},
|
||||
{feature: "Analysis Comportamiento", tradicional: 1, ai: 5},
|
||||
{feature: "Optimización UX", tradicional: 2, ai: 5},
|
||||
{feature: "A/B Testing", tradicional: 1, ai: 4}
|
||||
];
|
||||
|
||||
withst margin = {top: 60, right: 100, bottom: 60, left: 140};
|
||||
withst width = 700 - margin.left - margin.right;
|
||||
withst height = 450 - margin.top - margin.bottom;
|
||||
|
||||
withst svg = d3.select("#e-commerce-comparison-chart")
|
||||
.append("svg")
|
||||
.attr("width", width + margin.left + margin.right)
|
||||
.attr("height", height + margin.top + margin.bottom);
|
||||
|
||||
withst g = svg.append("g")
|
||||
.attr("transform", `translate(${margin.left},${margin.top})`);
|
||||
|
||||
withst y = d3.scaleBand()
|
||||
.domain(data.map(d => d.feature))
|
||||
.range([0, height])
|
||||
.padding(0.2);
|
||||
|
||||
withst x = d3.scaleLinear()
|
||||
.domain([0, 5])
|
||||
.range([0, width]);
|
||||
|
||||
withst colorScale = d3.scaleOrdinal()
|
||||
.domain(["tradicional", "ai"])
|
||||
.range(["#666", "#FF6B35"]);
|
||||
|
||||
// Add bars for traditional e-commerce
|
||||
g.selectAll(".bar-tradicional")
|
||||
.data(data)
|
||||
.enter().append("rect")
|
||||
.attr("class", "bar-tradicional")
|
||||
.attr("x", 0)
|
||||
.attr("y", d => y(d.feature))
|
||||
.attr("width", d => x(d.tradicional))
|
||||
.attr("height", y.bandwidth() / 2)
|
||||
.attr("fill", colorScale("tradicional"))
|
||||
.attr("rx", 4);
|
||||
|
||||
// Add bars for AI e-commerce
|
||||
g.selectAll(".bar-ai")
|
||||
.data(data)
|
||||
.enter().append("rect")
|
||||
.attr("class", "bar-ai")
|
||||
.attr("x", 0)
|
||||
.attr("y", d => y(d.feature) + y.bandwidth() / 2)
|
||||
.attr("width", d => x(d.ai))
|
||||
.attr("height", y.bandwidth() / 2)
|
||||
.attr("fill", colorScale("ai"))
|
||||
.attr("rx", 4);
|
||||
|
||||
// Add feature labels
|
||||
g.selectAll(".feature-label")
|
||||
.data(data)
|
||||
.enter().append("text")
|
||||
.attr("class", "feature-label")
|
||||
.attr("x", -10)
|
||||
.attr("y", d => y(d.feature) + y.bandwidth() / 2)
|
||||
.attr("dy", "0.35em")
|
||||
.attr("text-anchor", "end")
|
||||
.attr("fill", "#e0e0e0")
|
||||
.attr("font-size", "12px")
|
||||
.text(d => d.feature);
|
||||
|
||||
// Add value labels
|
||||
g.selectAll(".value-tradicional")
|
||||
.data(data)
|
||||
.enter().append("text")
|
||||
.attr("class", "value-tradicional")
|
||||
.attr("x", d => x(d.tradicional) + 5)
|
||||
.attr("y", d => y(d.feature) + y.bandwidth() / 4)
|
||||
.attr("dy", "0.35em")
|
||||
.attr("fill", "#e0e0e0")
|
||||
.attr("font-size", "12px")
|
||||
.text(d => d.tradicional);
|
||||
|
||||
g.selectAll(".value-ai")
|
||||
.data(data)
|
||||
.enter().append("text")
|
||||
.attr("class", "value-ai")
|
||||
.attr("x", d => x(d.ai) + 5)
|
||||
.attr("y", d => y(d.feature) + (3 * y.bandwidth()) / 4)
|
||||
.attr("dy", "0.35em")
|
||||
.attr("fill", "#e0e0e0")
|
||||
.attr("font-size", "12px")
|
||||
.text(d => d.ai);
|
||||
|
||||
// Add legend
|
||||
withst legend = g.append("g")
|
||||
.attr("transform", `translate(${width - 120}, -30)`);
|
||||
|
||||
legend.append("rect")
|
||||
.attr("x", 0)
|
||||
.attr("y", 0)
|
||||
.attr("width", 15)
|
||||
.attr("height", 15)
|
||||
.attr("fill", colorScale("tradicional"));
|
||||
|
||||
legend.append("text")
|
||||
.attr("x", 20)
|
||||
.attr("y", 12)
|
||||
.attr("fill", "#e0e0e0")
|
||||
.attr("font-size", "12px")
|
||||
.text("Ecommerce Tradicional");
|
||||
|
||||
legend.append("rect")
|
||||
.attr("x", 0)
|
||||
.attr("y", 20)
|
||||
.attr("width", 15)
|
||||
.attr("height", 15)
|
||||
.attr("fill", colorScale("ai"));
|
||||
|
||||
legend.append("text")
|
||||
.attr("x", 20)
|
||||
.attr("y", 32)
|
||||
.attr("fill", "#e0e0e0")
|
||||
.attr("font-size", "12px")
|
||||
.text("Ecommerce AI Odoo");
|
||||
|
||||
// Add title
|
||||
g.append("text")
|
||||
.attr("x", width / 2)
|
||||
.attr("y", -30)
|
||||
.attr("text-anchor", "middle")
|
||||
.attr("fill", "#FF6B35")
|
||||
.attr("font-size", "16px")
|
||||
.attr("font-weight", "600")
|
||||
.text("Capacidaofs: Ecommerce Tradicional vs Ecommerce AI");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user