Incertidumbre. Esta es la palabra clave en la que se está moviendo el mundo, en medio de la temida guerra de aranceles decretada por el presidente Donald Trump, en la que China ha respondido con una escalada comercial sin precedentes, generando tensiones en la economía y amenazando, incluso, con unas mayores posibilidades de recesión.Antes de los anuncios de la Casa Blanca, el panorama en el gasto de los hogares colombianos mantenía una tendencia de recuperación, impulsada por un mayor volumen de compra. Según un estudio de Kantar en la División Worldpanel, durante 2024, el valor de la canasta (del consumo masivo) creció un 16,1 por ciento, mientras que el volumen aumentó un 10,3 por ciento, con un incremento del 21,9 por ciento en el desembolso por compra. Así las cosas, el comportamiento de los consumidores colombianos estaba reflejando un mayor gasto en cada visita al punto de venta, eso sí, priorizando categorías y optimizando sus compras.
.caja-todo10{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: 100%;
max-width: 600px;
justify-content: center;
margin: 10px auto;
}
.caja-imagenes10{
margin: auto;
}
.caja-imagenes10 img{
-webkit-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
-moz-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
max-width: 180px;
height: 180px;
width: 100%;
z-index: 1;
}
.img_sep{
margin: auto;
}
.linea_izq{
width: 100%;
height: 100%;
max-width: 80%;
max-height: 2.5px;
background: #eb5c2e;
margin: auto;
}
@media (max-width: 768px){
.caja-todo10{
grid-template-columns: 25% 50% 25%;
max-width: 380px;
}
.linea_izq{
max-width: 80%;
}
}
*{
box-sizing: border-box;
}
/*------------------------Fuentes------------------------*/
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
/*------------------------Fuentes------------------------*/
body{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.contenedor-general{
display: flex;
justify-content: center;
}
.contenedor-alineacion{
display: flex;
flex-direction: column;
}
.contenedor-articulo{
width: 800px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}
.info{
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
height: 100%;
max-width: 490px;
max-height: 360px;
transform: translateX(-30px);
}
.titulo {
margin-left: 90px;
margin-right: 20px;
line-height: 26px;
padding-bottom: 15px;
border-bottom: #eb5c2e 1.35px solid;
font-family: 'SemanaSans-Medium';
font-size: 21px;
position: relative;
color: #282129;
font-weight: 400;
z-index: 1;
}
.chapo{
margin-left: 90px;
margin-right: 20px;
margin-bottom: 10px;
margin-top:10px;
font-family: 'SemanaSans-Regular' !important;
font-size: 17px;
position: relative;
z-index: 1;
line-height: 21px;
color: #2e2d2d;
font-weight: 200;
}
.enlace{
display: flex;
justify-content: center;
width: 110px;
height: 35px;
margin-left: 90px;
margin-right: 20px;
margin-top: 10px;
background: #eb5c2e;
position: relative;
z-index: 1;
}
.enlace-texto{
text-align: center;
margin-top:0;
}
.ajuste{
margin-top: 7px;
color: white;
font-family: 'SemanaSerif-Medium';
font-size: 15px;
position: relative;
z-index: 1;
}
.imagen{
position: relative;
transform: translate(30px, 0px);
z-index: 1;
}
.cuadro-mitad{
position: relative;
width: 9px;
height: 18px;
background: #eb5c2e;
margin-top: -27px;
transform: translate(72px, 24px);
z-index: 1;
}
.imagen-articulo{
width: 100%;
max-width: 300px;
height: 100%;
max-height: 300px;
-webkit-box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.75);
-moz-box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.75);
box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.75);
}
.img-fondo{
width: 100%;
height: 100%;
display: flex;
position: absolute;
border: 0.9px solid #CCC6C6;
}
a{
text-decoration: none;
}
@media(max-width:768px){
.contenedor-articulo{
flex-direction: column;
width: 100%;
height: 620px;
margin-top:40px;
}
.imagen{
transform: translate(0px, 25px);
}
.imagen-articulo{
max-width: 280px;
max-height: 280px;
}
.cuadro-mitad{
position: absolute;
transform: translate(0px, 90px);
width: 18px;
height: 9px;
margin-left: 20px;
}
.info{
max-width: 320px;
max-height: 100%;
transform: translate(0px, -30px);
padding-bottom: 20px;
justify-content: unset;
}
.titulo{
margin-left: 20px;
margin-top: 82px;
padding-bottom: 10px;
font-size: 18px;
line-height: 23px;
}
.chapo{
margin-left: 20px;
font-size: 16px;
line-height: 20px;
margin-top: 10px;
}
.enlace{
margin-left: 20px;
}
.img-fondo{
height: 100%;
}
}
Las marcas que más venden no son las más baratas, sino las que conectan emocionalmente. DDB Colombia explica por qué
El experto en marketing y CEO de DDB, Xavier Serrano, analiza cómo ha cambiado la relación entre consumidores y marcas.
Ir al artículo
Esta es la empresa de telecomunicaciones que más recuerdan los colombianos. Lidera el ranking Top of Mind 2025
Claro se mantiene como la marca más querida por los colombianos en las categorías de telefonía celular y telecomunicaciones. John Morales, gerente de Marca e Impacto País, explica cómo la conectividad ha cambiado vidas.
Ir al artículo
El salario no lo es todo. Conozca lo que hoy más valoran las personas a la hora de aceptar un empleo
Un estudio de WeWork reveló las preferencias que hoy se imponen en el mercado laboral
Ir al artículo
Cultura y diversión también son salud. Conozca la gran apuesta de esta prepagada
Además de ser una de las marcas preferidas por los jóvenes, MedPlus es reconocida por una oferta integral de servicios para el bienestar.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
Sin embargo, ya los consumidores veían con algo de escepticismo lo que venía en materia de inflación, reflejado en las decisiones de la Junta Directiva del Banco de la República que en sus últimas reuniones ha decidido mantener estable la tasa de referencia en 9,5 por ciento, mientras la inflación –todavía presionada por distintos factores– duró varios meses en 5,2 anual y apenas en la más reciente medición de marzo quedó en 5,09 por ciento, aunque no hay una tendencia clara.De acuerdo con un estudio de Boston Consulting Group, una mayoría significativa de los consumidores colombianos han modificado sus hábitos de compra de alimentos, en respuesta a la inflación y a la volatilidad económica. Este cambio se refleja en una mayor preferencia por marcas más económicas, compras más planificadas y una reducción en el consumo de productos considerados no esenciales.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
*{
box-sizing: border-box;
}
/*------------------------Fuentes------------------------*/
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
/*------------------------Fuentes------------------------*/
body{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.contenedor-general{
display: flex;
justify-content: center;
}
.contenedor-alineacion{
display: flex;
flex-direction: column;
}
.contenedor-articulo{
width: 800px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}
.info{
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
height: 100%;
max-width: 490px;
max-height: 360px;
transform: translateX(-30px);
}
.titulo {
margin-left: 90px;
margin-right: 20px;
line-height: 26px;
padding-bottom: 15px;
border-bottom: #eb5c2e 1.35px solid;
font-family: 'SemanaSans-Medium';
font-size: 21px;
position: relative;
color: #282129;
font-weight: 400;
z-index: 1;
}
.chapo{
margin-left: 90px;
margin-right: 20px;
margin-bottom: 10px;
margin-top:10px;
font-family: 'SemanaSans-Regular' !important;
font-size: 17px;
position: relative;
z-index: 1;
line-height: 21px;
color: #2e2d2d;
font-weight: 200;
}
.enlace{
display: flex;
justify-content: center;
width: 110px;
height: 35px;
margin-left: 90px;
margin-right: 20px;
margin-top: 10px;
background: #eb5c2e;
position: relative;
z-index: 1;
}
.enlace-texto{
text-align: center;
margin-top:0;
}
.ajuste{
margin-top: 7px;
color: white;
font-family: 'SemanaSerif-Medium';
font-size: 15px;
position: relative;
z-index: 1;
}
.imagen{
position: relative;
transform: translate(30px, 0px);
z-index: 1;
}
.cuadro-mitad{
position: relative;
width: 9px;
height: 18px;
background: #eb5c2e;
margin-top: -27px;
transform: translate(72px, 24px);
z-index: 1;
}
.imagen-articulo{
width: 100%;
max-width: 300px;
height: 100%;
max-height: 300px;
-webkit-box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.75);
-moz-box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.75);
box-shadow: 10px 10px 33px -11px rgba(0,0,0,0.75);
}
.img-fondo{
width: 100%;
height: 100%;
display: flex;
position: absolute;
border: 0.9px solid #CCC6C6;
}
a{
text-decoration: none;
}
@media(max-width:768px){
.contenedor-articulo{
flex-direction: column;
width: 100%;
height: 620px;
margin-top:40px;
}
.imagen{
transform: translate(0px, 25px);
}
.imagen-articulo{
max-width: 280px;
max-height: 280px;
}
.cuadro-mitad{
position: absolute;
transform: translate(0px, 90px);
width: 18px;
height: 9px;
margin-left: 20px;
}
.info{
max-width: 320px;
max-height: 100%;
transform: translate(0px, -30px);
padding-bottom: 20px;
justify-content: unset;
}
.titulo{
margin-left: 20px;
margin-top: 82px;
padding-bottom: 10px;
font-size: 18px;
line-height: 23px;
}
.chapo{
margin-left: 20px;
font-size: 16px;
line-height: 20px;
margin-top: 10px;
}
.enlace{
margin-left: 20px;
}
.img-fondo{
height: 100%;
}
}
Colegio Abraham Lincoln, 70 años formando ciudadanos del mundo
Fundada en 1955, la institución celebra siete décadas de servicio a la comunidad educativa de Bogotá y el país. Son 70 años de experiencias y logros que generan orgullo, gratitud y compromiso.
Ir al artículo
Así es como esta caja de compensación teje confianza y construye esperanza desde Antioquia: ya son 4,3 millones de colombianos beneficiados
Comfama se ganó un lugar privilegiado entre los colombianos gracias a las iniciativas que lidera.
Ir al artículo
Negocios y marcas con propósito: el caso de éxito de Alquería
Es una de las marcas más queridas del país y también una empresa comprometida con ser mejor para el mundo. Esta es su estrategia.
Ir al artículo
Un siglo de historia en América Latina: así logró Banco GNB Sudameris construir uno de los conglomerados financieros más sólidos de la región
Desde sus orígenes como Banco Italiano, ha sido parte activa del entramado financiero de Colombia, con una visión regional y enfocado en la sostenibilidad.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
Las marcas se están enfrentando a este tsunami, en un proceso de ajuste. Por ejemplo, en el sector de aerolíneas, desaparecieron, por graves problemas financieros, las dos más fuertes de bajo costo (Viva y Ultra Air).A ello se suman procesos de consolidación, como la movida clave de principios de este año en el sector financiero, con la incorporación de las operaciones que tiene Scotiabank en Colombia, Costa Rica y Panamá, a Davivienda, entidad que se convirtió en una multilatina de mayor alcance.Igualmente, está el acuerdo al que llegó Millicom, dueño de la marca Tigo, con Telefónica para quedarse con la operación de Movistar en el país. Telefónica está asociada con el Estado en Colombia Telecomunicaciones y le vendió el 60 por ciento que está en sus manos a Millicom, firma que aspira a que el Gobierno le venda el 40 por ciento restante. Por otro lado, Millicom, que comparte la propiedad de Tigo con EPM, también pretende adquirir el 50 por ciento que aún no controla de dicha sociedad.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
/*full screen sin padding lateral */
.article-main {
padding: 0 0px;
}
.article-main .sticky-top.t60 {
z-index: 2;
}
.shareBar {
left: 20px;
}
.contenedor-html-fullwidth {
width: 100%;
min-width: 100%;
}
.raw_html {
width: 100%;
min-width: 100%;
}
.section.sp-8 {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
min-width: 100%;
}
.article-main p {
max-width: 640px;
}
/************/
* {
/*border:1px solid red;*/
}
.contenedor-html {
min-width: 1000px;
}
.caja-html {
width: 100%;
height: 300px;
}
/*MEDIA QUERIES*/
@media screen and (max-width:1024px) {
.raw_html {
width: 850px;
min-width: 850px;
}
/*.caja-html{}*/
}
@media only screen and (max-width: 960px) {
.raw_html {
width: 100%;
min-width: inherit;
}
/*.caja-html{}*/
}
@media screen and (max-width:900px) {
/*.caja-html{}*/
}
@media screen and (max-width:800px) {
/*.caja-html{}*/
}
@media screen and (max-width:700px) {
/*.caja-html{}*/
}
@media screen and (max-width:600px) {
/*.caja-html{}*/
}
@media screen and (max-width:500px) {
/*.caja-html{}*/
}
@media screen and (max-width:400px) {
/*.caja-html{}*/
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
body {
padding: 0;
margin: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
}
*, :after, :before {
box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-style: normal;
color: inherit;
text-rendering: optimizeLegibility;
margin-bottom: .5rem;
line-height: 1.4;
padding: 0;
margin: 0;
}
p, h1, h2, h3, h4, h5, h6 {
font-family: 'SemanaSerif-Regular';
padding: 0;
margin: 0;
}
div {
outline : none;
}
::selection {
background: rgba(0, 0, 0, 0.2);
}
::-moz-selection {
background: rgba(0, 0, 0, 0.2);
}
button{
border:none;
padding: 0px;
margin: 0px;
border-radius: 0px;
background-color: transparent;
}
button:focus{
outline: none;
}
/*ÍCONOS*/
/*iconos navegación*/
.icono-navsprite{
background-repeat: no-repeat;
background-size: 1120px 120px;
}
.icono-navsprite-blanco{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-negro{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-rojo{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-1{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-2{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-home{
background-position: -400px 0px;
}
.icono-home-2{
background-position: -480px 0px;
}
/*.icono-historias{
background-position: -440px 0px;
}*/
.icono-historias {
background-position: -445px 0px;
}
.icono-historias-2{
background-position: -560px 0px;
}
.icono-cerrar-menu{
background-position: -40.5px 0px;
}
.icono-ver-mas {
position: relative;
width: 40px;
height: 40px;
background-position: 0px 0px;
}
.icono-cerrar {
position: relative;
width: 40px;
height: 40px;
background-position: -40px 0px;
}
.icono-flecha-abajo{
position: relative;
width: 40px;
height: 25px;
margin: 0 auto;
background-position: -360px -7px;
}
.icono-flecha-left{
position: absolute;
width: 100%;
height: 100%;
background-position: -240px 0px;
}
.icono-flecha-right{
position: absolute;
right: 0px;
width: 100%;
height: 100%;
background-position: -280px 0px;
}
.icono-flechagr-arriba{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -160px -40px;
}
.icono-flechagr-abajo{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -240px -40px;
}
.icono-flechagr-left{
position: relative;
width: 26px;
height: 40px;
background-position: -247px 0px;
}
.icono-flechagr-right{
position: relative;
width: 26px;
height: 40px;
background-position: -287px 0px;
}
.icono-flechagr-left-2{
position: relative;
width: 100%;
height: 80px;
background-position: -15px -40px;
}
.icono-flechagr-right-2{
position: relative;
width: 100%;
height: 80px;
background-position: -95px -40px;
}
/*DIVISORES*/
.divisor-contenido-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
height: 50px;
margin: px 0px 15px 0px;
/*background-color: red;*/
}
.elemento-divisor-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: calc(100% - 20px);
max-width: calc(500px - 20px);
height: 1px;
border-top:2px solid rgba(217,16,22,1.00);
}
.forma-elemento-divisor-01{
width: 10px;
height: 10px;
background-color: rgba(217,16,22,1.00);
margin-bottom: 2px;
}
.link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
padding: 0px;
margin-top: 10px;
}
.caja-imagen-link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex: 0 0 30%;
margin-left: 0px;
margin-right: 10px;
padding: 0px;
}
.caja-url-link-destacado-parrafo{
position:relative;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: center;
flex-direction: column;
flex: 0 0 1;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul li{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
margin-bottom: 8px;
}
.caja-url-link-destacado-parrafo ul li div{
flex: 0 0 25px;
width: 25px;
height: 25px;
margin-right: 8px;
background-size: 725px 80px;
opacity: 1;
}
.caja-url-link-destacado-parrafo p{
line-height: 1.4rem;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo span{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.7rem;
line-height: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(0,0,0,1);
margin-top: 15px;
margin-right: 30px;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a{
font-family: 'SemanaSans-Bold';
font-size: 1rem;
line-height: 1.2rem;
color:rgba(255,255,255,0.7);
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a:hover{
color: rgba(233,27,30, 1);
}
.bloque-contenido{
padding: 0px 10px 0px 10px;
}
.contenedor-contenido-grilla {
padding: 0px;
/*border:4px solid red;*/
}
.contenedor-contenido-grilla-perfil-datos{
margin: 5px 0px 5px 0px;
padding: 40px 0px 45px 0px;
border-bottom:none !important;
}
.contenedor-contenido-grilla-perfil-datos:first-of-type{
padding-top: 0px;
}
/*.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla{}*/
.caja-contenido-grilla {
/*height: 400px;*/
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
text-align: center;
max-width: 900px;
margin: 0 auto;
/*border:4px solid peru;*/
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .contenedor-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-end;
flex-direction: row;
text-align: center;
/*flex: 0 0 50%;*/
flex: 0;
height: 100%;
width: auto;
margin: 0px;
padding: 0px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
position: absolute;
top: 50%;
left: inherit;
right: 0%;
-moz-transform: translateX(0%) translateY(-50%);
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 400px;
height: 400px;
border:1px solid rgba(0,0,0,0.2);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
text-align: center;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
/*max-width: 100%;
max-height: 100%;*/
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
border:1px solid rgba(0,0,0,0.1);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
}
.contenedor-imagen-perfil{
position: relative;
display: inline-block;
vertical-align: middle;
width: 33%;
margin-bottom: 5px;
padding-bottom: 33%;
/*border:5px solid cyan;*/
}
/*fade imagen perfil */
.caja-imagen-perfil {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
z-index: 0;
}
.caja-imagen-perfil .caja-imagen {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
overflow: hidden;
}
.caja-imagen-perfil .caja-imagen img {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
}
.caja-imagen-perfil .fade-1:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.8s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-2:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3.1s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-3:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.6s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-4:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.2s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-5:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-6:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.9s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(2) {
z-index: 10;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(n+3) {
display: none;
}
@keyframes fader1 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader2 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader3 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
/*texto caja perfil*/
.caja-texto-foto-grilla{
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
z-index: 2;
}
.caja-texto-foto-grilla a {
position: absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
z-index: 2;
/*background-color: pink;*/
}
.caja-texto-foto-grilla-fuera{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: flex-end;
flex-direction: column;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-texto-foto-grilla-fuera > div {
max-width: calc(100% - 0px);
margin: 0px 0px 40px 40px;
padding: 0px 40px 0px 0px;
}
.caja-texto-foto-grilla > div h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 10px;
padding-left: 0px;
}
.caja-texto-foto-grilla > div h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
margin-bottom: 5px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}
.caja-comilla-cita {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: relative;
width: 100%;
width: 155px;
height: 40px;
margin-top: 10px;
image-rendering: -webkit-optimize-contrast;
cursor: pointer;
z-index: 1;
}
.caja-comilla-cita a {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 0px;
margin-left: 10px;
}
.caja-informacion-perfil .caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color:rgba(0,0,0,1.00);
text-shadow: none;
margin-bottom: 0px;
margin-left: 10px;
}
.caja-comilla-cita img {
width: 40px !important;
height: 40px !important;
}
.boton-modal{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}
.bloque-info-cita{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 60px);
height: calc(100% - 60px);
background-color:rgba(0,0,0,0.5);
z-index: 1;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
/*visibility: hidden;*/
opacity: 0.3;
}
/************/
.bloque-info-cita-activo{
/*display: block;*/
opacity: 1;
visibility: visible;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
}
.bloque-opacidad-modal{
position: absolute;
width: 100%;
height: 100%;
background-color:rgba(0,0,0,0.4);
z-index: 1;
}
.bloque-info-cita img{
position: absolute;
top: 0px;
left: 0px;
max-width: 100%;
max-height: 100%;
z-index: 0;
}
.bloque-info-cita .caja-texto-foto-grilla h4 {
margin-bottom: 10px;
}
.bloque-info-cita .caja-comilla-cita {
width: 40px;
height: 40px;
background-color: rgba(233,27,30, 1);
}
.caja-foto-full-rostro{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 20px);
height: calc(100% - 20px);
z-index: 2;
border:2px solid rgba(255,255,255,1.00);
opacity: 0;
}
.caja-texto-foto-grilla p {
font-size: 0.7rem;
line-height: 0.9rem;
letter-spacing: 0;
text-transform: none;
text-align: left;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.5rem;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-comilla-cita p{
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 0px;
margin-left: 10px;
color: rgba(255,255,255,1.00);
}
.contenedor-informacion-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
/*flex: 0 0 50%;*/
flex: 1;
height: 100%;
padding: 0px;
/*border: 5px solid magenta;*/
}
.caja-informacion-perfil{
/*width: 50%;*/
width: 100% !important;
max-height: calc(100% - 120px);
overflow-y: auto;
padding: 30px 60px 20px 20px;
border-top:1px dashed rgba(0,0,0,0.2);
border-right:1px dashed rgba(0,0,0,0.2);
border-bottom:1px dashed rgba(0,0,0,0.2);
background-color: rgba(255,255,255,1.00);
background-image: url(https://multimedia.semana.com/2022/11_noviembre/recursos/EGQRSK4NTVDKVA…);
background-repeat: repeat;
background-position: center;
background-size: auto;
/*border:3px solid peru;*/
}
.caja-informacion-perfil h5{
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color:rgba(255,255,255,1.00);
margin-top: 30px;
margin-bottom: 10px;
padding-left: 0px;
}
.caja-informacion-perfil h5:first-of-type{
margin-top: 0px;
}
.caja-informacion-perfil h5:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil h3{
font-family: 'SemanaSans-ExtraBold' !important;
font-size: 1.5rem !important;
line-height: 1.9rem !important;
text-align: left;
/*text-transform: uppercase;*/
color:rgba(0,0,0,0.7) !important;
margin-bottom: 20px !important;
}
.caja-informacion-perfil h4{
font-family: 'SemanaSans-Light' !important;
font-size: 1.rem !important;
line-height: 1.2rem !important;
text-align: left;
text-transform: uppercase;
color:rgba(0,0,0,0.9) !important;
margin-bottom: 10px !important;
}
.caja-informacion-perfil p{
font-family: 'SemanaSerif-Bold';
font-size: 1.1rem;
line-height: 1.5rem;
text-align: left;
color:rgba(0,0,0,1.00);
margin-bottom: 0px;
}
.caja-informacion-perfil h5 span{
background-color: rgba(233, 27, 30, 1);
padding: 3px 7px 5px 7px
}
.caja-informacion-perfil ul{
list-style-type: square;
margin-bottom: 15px;
padding-left: 17px;
}
.caja-informacion-perfil ul:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li{
margin-bottom: 20px;
}
.caja-informacion-perfil ul li:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li h6{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.85rem;
line-height: 0.85rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,0.8);
margin-bottom: 5px;
}
.caja-informacion-perfil ul li p{
font-family: 'SemanaSans-Medium';
font-size: 1rem;
line-height: 1.35rem;
/*letter-spacing: 1px;*/
/*text-transform: uppercase;*/
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,1.00);
margin-bottom: 5px;
}
.contenedor-contenido-links-relacionado{
text-align: center;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 24%;
padding-bottom: 24%;
/*border:5px solid blue;*/
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil .caja-imagen img {
width: auto;
height: calc(100% + 10px);
max-width: none;
max-height: none;
}
.contenedor-contenido-links-relacionado .bloque-info-cita {
width: calc(100% - 30px);
height: calc(100% - 30px);
background-color: rgba(0,0,0,1);
opacity: 0.35;
}
.contenedor-logos{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
max-width: 1366px;
margin: 0 auto;
margin-bottom: 50px;
padding-top: 30px;
border-top:1px solid rgba(0,0,0,0.2);
}
.contenedor-logos > div:nth-last-child(2){
margin-bottom: 20px;
}
.contenedor-logos > div:nth-last-child(2) p{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 2px;
text-transform: uppercase;
padding-left: 0px;
color:rgba(0,0,0,0.3);
margin-bottom: 0px;
color: #989898;
}
.contenedor-logos > div:nth-last-child(1){
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.contenedor-logos > div:nth-last-child(1) div{
flex:0 0 22%;
width: 22%;
text-align: center;
margin-bottom: 40px;
}
.contenedor-logos > div:nth-last-child(1) div img{
width: auto !important;
max-width: 100%;
max-height: 100%;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8){
flex:0 0 30%;
width: 30%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7){
flex:0 0 30%;
width: 30%;
height: 35px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6){
flex:0 0 30%;
width: 30%;
height: 30px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1){
flex:0 0 18%;
width: 18%;
height: 60px;
}
@media screen and (max-width:1024px){
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 33%;
padding-bottom: 33%;
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 90px);
}
}
@media screen and (max-width:768px){
.contenedor-contenido-grilla {
text-align: center;
padding: 40px 10px 45px 10px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil {
/*height: auto;*/
height: inherit;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: 100%;
max-height: 300px;
}
.contenedor-imagen-perfil{
width: 47%;
padding-bottom: 47%;
/*border:1px solid cyan;*/
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 70px);
border-left: 1px dashed rgba(0,0,0,0.2);
padding: 30px 30px 20px 20px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 47%;
padding-bottom: 47%;
}
}
@media screen and (max-width:767px){
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
display: block;
height: auto;
padding: 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
width: 100%;
height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-informacion-perfil {
padding: 25px 30px 25px 30px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .bloque-info-cita {
top: calc(50% - 2px);
width: calc(100% - 20px);
height: calc(100% - 20px);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
border:none;
}
.caja-texto-foto-grilla-fuera > div {
margin: 0px 0px 25px 25px;
}
.caja-informacion-perfil {
width: 100%;
max-height: none;
border: none;
padding: 30px 0px 20px 0px;
}
}
@media screen and (max-width:677px){
.contenedor-contenido-grilla {
padding-top: 20px;
padding-bottom: 25px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
padding: 20px 20px 2px 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla.caja-embed {
padding: 0px 10px 0px 10px;
}
.contenedor-imagen-perfil{
width: 100%;
padding-bottom: 100%;
}
.contenedor-logos > div:nth-last-child(1) div {
margin-bottom: 15px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8) {
flex: 0 0 90%;
width: 90%;
height: 18px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7) {
flex: 0 0 90%;
width: 90%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6) {
flex: 0 0 90%;
width: 90%;
height: 20px;
margin-bottom: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 100%;
padding-bottom: 100%;
}
}
.contenedor-embed-flourish{}
/*.caja-embed{}*/
.caja-embed-flourish{
/*border:5px solid blue;*/
width: 100%;
max-width: 900px;
border-left: 1px dashed rgba(0,0,0,0.2);
border-right: 1px dashed rgba(0,0,0,0.2);
margin: 0 auto;
}
.contenedor-iframe-spreaker{
width: 100%;
margin-top: 5px;
padding: 5px 0px 10px 0px;
border-top: 1px dashed rgba(0,0,0,0.2);
border-bottom: 1px dashed rgba(0,0,0,0.2)
}
.contenedor-iframe-spreaker iframe{
max-width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos{
border-top: none;
}
Marcas en crecimiento: Estas son las que más avanzaron en las ciudades capitales de Colombia
En 2025, en Bogotá el mayor avance lo tuvo una marca de aseo, en Medellín empataron una financiera y una de arroz, en Barranquilla una universidad y en Cali una de relojes.
Ir al artículo
Estas son las marcas que primero se vienen a la mente de los consumidores mayores de edad
En su elección no solo pesa el trabajo de marketing de las empresas, sino también sus esfuerzos por innovar y generar confianza.
Ir al artículo
Top de las marcas de bebidas favoritas en Colombia: estas son las más queridas por los adultos
En gaseosa, cerveza, aguardiente y whisky los gustos de los consumidores no variaron mucho frente al año pasado.
Ir al artículo
En agua, café y chocolate estas son las marcas de mayor recordación
En 2025, Cristal lidera en aguas embotelladas, Sello Rojo en café molido, Nescafé en cafés instantáneos, y Corona en chocolate. Innovación y confianza fortalecen su posición en diferentes regiones y segmentos.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
De la misma manera, se han dado procesos de depuración de portafolios de marcas, como el que anunció el Grupo Éxito, ahora en manos del Grupo Calleja, de Centroamérica. Se trata del proyecto de unificación de sus marcas de retail en Colombia bajo los nombres de Éxito y Carulla, decisión que conducirá a la desaparición de las marcas Surtimax y Surtimayorista.Bajo este nuevo y desafiante contexto, Dinero y YanHaas adelantaron su tradicional estudio anual de Top of Mind, que llega a su edición 25, para evaluar el comportamiento de las marcas más recordadas del país este año.Y hay varios resultados sorprendentes. Por primera vez en el estudio de adultos una marca colombiana lidera en solitario la medición general, es decir, las menciones espontáneas en las que no media ninguna categoría. Se trata de arroz Diana, que ganó 11 puntos porcentuales en la medición de este año, y llegó a 21 por ciento, el dato más alto que haya alcanzado cualquier marca, en la última década en esta parte del estudio.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
/*full screen sin padding lateral */
.article-main {
padding: 0 0px;
}
.article-main .sticky-top.t60 {
z-index: 2;
}
.shareBar {
left: 20px;
}
.contenedor-html-fullwidth {
width: 100%;
min-width: 100%;
}
.raw_html {
width: 100%;
min-width: 100%;
}
.section.sp-8 {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
min-width: 100%;
}
.article-main p {
max-width: 640px;
}
/************/
* {
/*border:1px solid red;*/
}
.contenedor-html {
min-width: 1000px;
}
.caja-html {
width: 100%;
height: 300px;
}
/*MEDIA QUERIES*/
@media screen and (max-width:1024px) {
.raw_html {
width: 850px;
min-width: 850px;
}
/*.caja-html{}*/
}
@media only screen and (max-width: 960px) {
.raw_html {
width: 100%;
min-width: inherit;
}
/*.caja-html{}*/
}
@media screen and (max-width:900px) {
/*.caja-html{}*/
}
@media screen and (max-width:800px) {
/*.caja-html{}*/
}
@media screen and (max-width:700px) {
/*.caja-html{}*/
}
@media screen and (max-width:600px) {
/*.caja-html{}*/
}
@media screen and (max-width:500px) {
/*.caja-html{}*/
}
@media screen and (max-width:400px) {
/*.caja-html{}*/
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
body {
padding: 0;
margin: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
}
*, :after, :before {
box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-style: normal;
color: inherit;
text-rendering: optimizeLegibility;
margin-bottom: .5rem;
line-height: 1.4;
padding: 0;
margin: 0;
}
p, h1, h2, h3, h4, h5, h6 {
font-family: 'SemanaSerif-Regular';
padding: 0;
margin: 0;
}
div {
outline : none;
}
::selection {
background: rgba(0, 0, 0, 0.2);
}
::-moz-selection {
background: rgba(0, 0, 0, 0.2);
}
button{
border:none;
padding: 0px;
margin: 0px;
border-radius: 0px;
background-color: transparent;
}
button:focus{
outline: none;
}
/*ÍCONOS*/
/*iconos navegación*/
.icono-navsprite{
background-repeat: no-repeat;
background-size: 1120px 120px;
}
.icono-navsprite-blanco{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-negro{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-rojo{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-1{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-2{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-home{
background-position: -400px 0px;
}
.icono-home-2{
background-position: -480px 0px;
}
/*.icono-historias{
background-position: -440px 0px;
}*/
.icono-historias {
background-position: -445px 0px;
}
.icono-historias-2{
background-position: -560px 0px;
}
.icono-cerrar-menu{
background-position: -40.5px 0px;
}
.icono-ver-mas {
position: relative;
width: 40px;
height: 40px;
background-position: 0px 0px;
}
.icono-cerrar {
position: relative;
width: 40px;
height: 40px;
background-position: -40px 0px;
}
.icono-flecha-abajo{
position: relative;
width: 40px;
height: 25px;
margin: 0 auto;
background-position: -360px -7px;
}
.icono-flecha-left{
position: absolute;
width: 100%;
height: 100%;
background-position: -240px 0px;
}
.icono-flecha-right{
position: absolute;
right: 0px;
width: 100%;
height: 100%;
background-position: -280px 0px;
}
.icono-flechagr-arriba{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -160px -40px;
}
.icono-flechagr-abajo{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -240px -40px;
}
.icono-flechagr-left{
position: relative;
width: 26px;
height: 40px;
background-position: -247px 0px;
}
.icono-flechagr-right{
position: relative;
width: 26px;
height: 40px;
background-position: -287px 0px;
}
.icono-flechagr-left-2{
position: relative;
width: 100%;
height: 80px;
background-position: -15px -40px;
}
.icono-flechagr-right-2{
position: relative;
width: 100%;
height: 80px;
background-position: -95px -40px;
}
/*DIVISORES*/
.divisor-contenido-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
height: 50px;
margin: px 0px 15px 0px;
/*background-color: red;*/
}
.elemento-divisor-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: calc(100% - 20px);
max-width: calc(500px - 20px);
height: 1px;
border-top:2px solid rgba(217,16,22,1.00);
}
.forma-elemento-divisor-01{
width: 10px;
height: 10px;
background-color: rgba(217,16,22,1.00);
margin-bottom: 2px;
}
.link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
padding: 0px;
margin-top: 10px;
}
.caja-imagen-link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex: 0 0 30%;
margin-left: 0px;
margin-right: 10px;
padding: 0px;
}
.caja-url-link-destacado-parrafo{
position:relative;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: center;
flex-direction: column;
flex: 0 0 1;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul li{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
margin-bottom: 8px;
}
.caja-url-link-destacado-parrafo ul li div{
flex: 0 0 25px;
width: 25px;
height: 25px;
margin-right: 8px;
background-size: 725px 80px;
opacity: 1;
}
.caja-url-link-destacado-parrafo p{
line-height: 1.4rem;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo span{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.7rem;
line-height: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(0,0,0,1);
margin-top: 15px;
margin-right: 30px;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a{
font-family: 'SemanaSans-Bold';
font-size: 1rem;
line-height: 1.2rem;
color:rgba(255,255,255,0.7);
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a:hover{
color: rgba(233,27,30, 1);
}
.bloque-contenido{
padding: 0px 10px 0px 10px;
}
.contenedor-contenido-grilla {
padding: 0px;
/*border:4px solid red;*/
}
.contenedor-contenido-grilla-perfil-datos{
margin: 5px 0px 5px 0px;
padding: 40px 0px 45px 0px;
border-bottom:none !important;
}
.contenedor-contenido-grilla-perfil-datos:first-of-type{
padding-top: 0px;
}
/*.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla{}*/
.caja-contenido-grilla {
/*height: 400px;*/
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
text-align: center;
max-width: 900px;
margin: 0 auto;
/*border:4px solid peru;*/
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .contenedor-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-end;
flex-direction: row;
text-align: center;
/*flex: 0 0 50%;*/
flex: 0;
height: 100%;
width: auto;
margin: 0px;
padding: 0px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
position: absolute;
top: 50%;
left: inherit;
right: 0%;
-moz-transform: translateX(0%) translateY(-50%);
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 400px;
height: 400px;
border:1px solid rgba(0,0,0,0.2);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
text-align: center;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
/*max-width: 100%;
max-height: 100%;*/
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
border:1px solid rgba(0,0,0,0.1);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
}
.contenedor-imagen-perfil{
position: relative;
display: inline-block;
vertical-align: middle;
width: 33%;
margin-bottom: 5px;
padding-bottom: 33%;
/*border:5px solid cyan;*/
}
/*fade imagen perfil */
.caja-imagen-perfil {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
z-index: 0;
}
.caja-imagen-perfil .caja-imagen {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
overflow: hidden;
}
.caja-imagen-perfil .caja-imagen img {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
}
.caja-imagen-perfil .fade-1:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.8s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-2:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3.1s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-3:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.6s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-4:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.2s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-5:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-6:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.9s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(2) {
z-index: 10;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(n+3) {
display: none;
}
@keyframes fader1 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader2 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader3 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
/*texto caja perfil*/
.caja-texto-foto-grilla{
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
z-index: 2;
}
.caja-texto-foto-grilla a {
position: absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
z-index: 2;
/*background-color: pink;*/
}
.caja-texto-foto-grilla-fuera{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: flex-end;
flex-direction: column;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-texto-foto-grilla-fuera > div {
max-width: calc(100% - 0px);
margin: 0px 0px 40px 40px;
padding: 0px 40px 0px 0px;
}
.caja-texto-foto-grilla > div h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 10px;
padding-left: 0px;
}
.caja-texto-foto-grilla > div h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
margin-bottom: 5px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}
.caja-comilla-cita {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: relative;
width: 100%;
width: 155px;
height: 40px;
margin-top: 10px;
image-rendering: -webkit-optimize-contrast;
cursor: pointer;
z-index: 1;
}
.caja-comilla-cita a {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 0px;
margin-left: 10px;
}
.caja-informacion-perfil .caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color:rgba(0,0,0,1.00);
text-shadow: none;
margin-bottom: 0px;
margin-left: 10px;
}
.caja-comilla-cita img {
width: 40px !important;
height: 40px !important;
}
.boton-modal{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}
.bloque-info-cita{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 60px);
height: calc(100% - 60px);
background-color:rgba(0,0,0,0.5);
z-index: 1;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
/*visibility: hidden;*/
opacity: 0.3;
}
/************/
.bloque-info-cita-activo{
/*display: block;*/
opacity: 1;
visibility: visible;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
}
.bloque-opacidad-modal{
position: absolute;
width: 100%;
height: 100%;
background-color:rgba(0,0,0,0.4);
z-index: 1;
}
.bloque-info-cita img{
position: absolute;
top: 0px;
left: 0px;
max-width: 100%;
max-height: 100%;
z-index: 0;
}
.bloque-info-cita .caja-texto-foto-grilla h4 {
margin-bottom: 10px;
}
.bloque-info-cita .caja-comilla-cita {
width: 40px;
height: 40px;
background-color: rgba(233,27,30, 1);
}
.caja-foto-full-rostro{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 20px);
height: calc(100% - 20px);
z-index: 2;
border:2px solid rgba(255,255,255,1.00);
opacity: 0;
}
.caja-texto-foto-grilla p {
font-size: 0.7rem;
line-height: 0.9rem;
letter-spacing: 0;
text-transform: none;
text-align: left;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.5rem;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-comilla-cita p{
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 0px;
margin-left: 10px;
color: rgba(255,255,255,1.00);
}
.contenedor-informacion-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
/*flex: 0 0 50%;*/
flex: 1;
height: 100%;
padding: 0px;
/*border: 5px solid magenta;*/
}
.caja-informacion-perfil{
/*width: 50%;*/
width: 100% !important;
max-height: calc(100% - 120px);
overflow-y: auto;
padding: 30px 60px 20px 20px;
border-top:1px dashed rgba(0,0,0,0.2);
border-right:1px dashed rgba(0,0,0,0.2);
border-bottom:1px dashed rgba(0,0,0,0.2);
background-color: rgba(255,255,255,1.00);
background-image: url(https://multimedia.semana.com/2022/11_noviembre/recursos/EGQRSK4NTVDKVA…);
background-repeat: repeat;
background-position: center;
background-size: auto;
/*border:3px solid peru;*/
}
.caja-informacion-perfil h5{
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color:rgba(255,255,255,1.00);
margin-top: 30px;
margin-bottom: 10px;
padding-left: 0px;
}
.caja-informacion-perfil h5:first-of-type{
margin-top: 0px;
}
.caja-informacion-perfil h5:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil h3{
font-family: 'SemanaSans-ExtraBold' !important;
font-size: 1.5rem !important;
line-height: 1.9rem !important;
text-align: left;
/*text-transform: uppercase;*/
color:rgba(0,0,0,0.7) !important;
margin-bottom: 20px !important;
}
.caja-informacion-perfil h4{
font-family: 'SemanaSans-Light' !important;
font-size: 1.rem !important;
line-height: 1.2rem !important;
text-align: left;
text-transform: uppercase;
color:rgba(0,0,0,0.9) !important;
margin-bottom: 10px !important;
}
.caja-informacion-perfil p{
font-family: 'SemanaSerif-Bold';
font-size: 1.1rem;
line-height: 1.5rem;
text-align: left;
color:rgba(0,0,0,1.00);
margin-bottom: 0px;
}
.caja-informacion-perfil h5 span{
background-color: rgba(233, 27, 30, 1);
padding: 3px 7px 5px 7px
}
.caja-informacion-perfil ul{
list-style-type: square;
margin-bottom: 15px;
padding-left: 17px;
}
.caja-informacion-perfil ul:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li{
margin-bottom: 20px;
}
.caja-informacion-perfil ul li:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li h6{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.85rem;
line-height: 0.85rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,0.8);
margin-bottom: 5px;
}
.caja-informacion-perfil ul li p{
font-family: 'SemanaSans-Medium';
font-size: 1rem;
line-height: 1.35rem;
/*letter-spacing: 1px;*/
/*text-transform: uppercase;*/
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,1.00);
margin-bottom: 5px;
}
.contenedor-contenido-links-relacionado{
text-align: center;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 24%;
padding-bottom: 24%;
/*border:5px solid blue;*/
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil .caja-imagen img {
width: auto;
height: calc(100% + 10px);
max-width: none;
max-height: none;
}
.contenedor-contenido-links-relacionado .bloque-info-cita {
width: calc(100% - 30px);
height: calc(100% - 30px);
background-color: rgba(0,0,0,1);
opacity: 0.35;
}
.contenedor-logos{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
max-width: 1366px;
margin: 0 auto;
margin-bottom: 50px;
padding-top: 30px;
border-top:1px solid rgba(0,0,0,0.2);
}
.contenedor-logos > div:nth-last-child(2){
margin-bottom: 20px;
}
.contenedor-logos > div:nth-last-child(2) p{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 2px;
text-transform: uppercase;
padding-left: 0px;
color:rgba(0,0,0,0.3);
margin-bottom: 0px;
color: #989898;
}
.contenedor-logos > div:nth-last-child(1){
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.contenedor-logos > div:nth-last-child(1) div{
flex:0 0 22%;
width: 22%;
text-align: center;
margin-bottom: 40px;
}
.contenedor-logos > div:nth-last-child(1) div img{
width: auto !important;
max-width: 100%;
max-height: 100%;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8){
flex:0 0 30%;
width: 30%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7){
flex:0 0 30%;
width: 30%;
height: 35px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6){
flex:0 0 30%;
width: 30%;
height: 30px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1){
flex:0 0 18%;
width: 18%;
height: 60px;
}
@media screen and (max-width:1024px){
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 33%;
padding-bottom: 33%;
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 90px);
}
}
@media screen and (max-width:768px){
.contenedor-contenido-grilla {
text-align: center;
padding: 40px 10px 45px 10px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil {
/*height: auto;*/
height: inherit;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: 100%;
max-height: 300px;
}
.contenedor-imagen-perfil{
width: 47%;
padding-bottom: 47%;
/*border:1px solid cyan;*/
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 70px);
border-left: 1px dashed rgba(0,0,0,0.2);
padding: 30px 30px 20px 20px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 47%;
padding-bottom: 47%;
}
}
@media screen and (max-width:767px){
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
display: block;
height: auto;
padding: 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
width: 100%;
height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-informacion-perfil {
padding: 25px 30px 25px 30px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .bloque-info-cita {
top: calc(50% - 2px);
width: calc(100% - 20px);
height: calc(100% - 20px);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
border:none;
}
.caja-texto-foto-grilla-fuera > div {
margin: 0px 0px 25px 25px;
}
.caja-informacion-perfil {
width: 100%;
max-height: none;
border: none;
padding: 30px 0px 20px 0px;
}
}
@media screen and (max-width:677px){
.contenedor-contenido-grilla {
padding-top: 20px;
padding-bottom: 25px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
padding: 20px 20px 2px 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla.caja-embed {
padding: 0px 10px 0px 10px;
}
.contenedor-imagen-perfil{
width: 100%;
padding-bottom: 100%;
}
.contenedor-logos > div:nth-last-child(1) div {
margin-bottom: 15px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8) {
flex: 0 0 90%;
width: 90%;
height: 18px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7) {
flex: 0 0 90%;
width: 90%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6) {
flex: 0 0 90%;
width: 90%;
height: 20px;
margin-bottom: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 100%;
padding-bottom: 100%;
}
}
.contenedor-embed-flourish{}
/*.caja-embed{}*/
.caja-embed-flourish{
/*border:5px solid blue;*/
width: 100%;
max-width: 900px;
border-left: 1px dashed rgba(0,0,0,0.2);
border-right: 1px dashed rgba(0,0,0,0.2);
margin: 0 auto;
}
.contenedor-iframe-spreaker{
width: 100%;
margin-top: 5px;
padding: 5px 0px 10px 0px;
border-top: 1px dashed rgba(0,0,0,0.2);
border-bottom: 1px dashed rgba(0,0,0,0.2)
}
.contenedor-iframe-spreaker iframe{
max-width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos{
border-top: none;
}
Jugos, tés, energizantes y leches líquidas: estas son las marcas predilectas de los consumidores
Hit, Hindú, Vive 100 y Colanta lideran en estas categorías.
Ir al artículo
Marcas de productos de aseo más destacadas entre los adultos. Apuesta por la frescura y la calidad
Los consumidores suelen ser fieles a sus marcas en estas categorías. Sin embargo, cambian las preferencias por ciudades y estratos.
Ir al artículo
Las marcas más selectas en cuatro categorías claves de consumo masivo. Así las ven los colombianos
La recordación de las marcas es clave pues es la que impulsa la decisión de compra.
Ir al artículo
Estas son las marcas consentidas de los consumidores colombianos en alimentos y computación
Medir la notoriedad de las marcas indica qué tan presentes están en el mercado y su capacidad para convertirse en las primeras en ventas.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
En 2022, se había logrado un triple empate, con 14 por ciento, entre Coca-Cola, Colgate y Diana. En los dos años siguientes, Coca-Cola picó en punta, pero Diana nunca abandonó el podio y este año llegó al primer lugar. Se destaca, también, que entre las diez primeras marcas en la medición general, seis colombianas están ahí, cuando antes era un terreno dominado por las multinacionales.Al comparar los resultados de las más de 50 categorías medidas en adultos, Colgate alcanza la mayor recordación con el 89 por ciento, seguida de Avianca y Jet, cada una con 81 por ciento.En este estudio están categorías nuevas que no se consideraban al principio de la medición, hace ya más de dos décadas, como, por ejemplo, los neobancos, plataformas de pagos y de compras, otras como las de streaming, y medicina prepagada, que cobra especial relevancia en medio de la crisis de la salud.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
/*full screen sin padding lateral */
.article-main {
padding: 0 0px;
}
.article-main .sticky-top.t60 {
z-index: 2;
}
.shareBar {
left: 20px;
}
.contenedor-html-fullwidth {
width: 100%;
min-width: 100%;
}
.raw_html {
width: 100%;
min-width: 100%;
}
.section.sp-8 {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
min-width: 100%;
}
.article-main p {
max-width: 640px;
}
/************/
* {
/*border:1px solid red;*/
}
.contenedor-html {
min-width: 1000px;
}
.caja-html {
width: 100%;
height: 300px;
}
/*MEDIA QUERIES*/
@media screen and (max-width:1024px) {
.raw_html {
width: 850px;
min-width: 850px;
}
/*.caja-html{}*/
}
@media only screen and (max-width: 960px) {
.raw_html {
width: 100%;
min-width: inherit;
}
/*.caja-html{}*/
}
@media screen and (max-width:900px) {
/*.caja-html{}*/
}
@media screen and (max-width:800px) {
/*.caja-html{}*/
}
@media screen and (max-width:700px) {
/*.caja-html{}*/
}
@media screen and (max-width:600px) {
/*.caja-html{}*/
}
@media screen and (max-width:500px) {
/*.caja-html{}*/
}
@media screen and (max-width:400px) {
/*.caja-html{}*/
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
body {
padding: 0;
margin: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
}
*, :after, :before {
box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-style: normal;
color: inherit;
text-rendering: optimizeLegibility;
margin-bottom: .5rem;
line-height: 1.4;
padding: 0;
margin: 0;
}
p, h1, h2, h3, h4, h5, h6 {
font-family: 'SemanaSerif-Regular';
padding: 0;
margin: 0;
}
div {
outline : none;
}
::selection {
background: rgba(0, 0, 0, 0.2);
}
::-moz-selection {
background: rgba(0, 0, 0, 0.2);
}
button{
border:none;
padding: 0px;
margin: 0px;
border-radius: 0px;
background-color: transparent;
}
button:focus{
outline: none;
}
/*ÍCONOS*/
/*iconos navegación*/
.icono-navsprite{
background-repeat: no-repeat;
background-size: 1120px 120px;
}
.icono-navsprite-blanco{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-negro{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-rojo{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-1{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-2{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-home{
background-position: -400px 0px;
}
.icono-home-2{
background-position: -480px 0px;
}
/*.icono-historias{
background-position: -440px 0px;
}*/
.icono-historias {
background-position: -445px 0px;
}
.icono-historias-2{
background-position: -560px 0px;
}
.icono-cerrar-menu{
background-position: -40.5px 0px;
}
.icono-ver-mas {
position: relative;
width: 40px;
height: 40px;
background-position: 0px 0px;
}
.icono-cerrar {
position: relative;
width: 40px;
height: 40px;
background-position: -40px 0px;
}
.icono-flecha-abajo{
position: relative;
width: 40px;
height: 25px;
margin: 0 auto;
background-position: -360px -7px;
}
.icono-flecha-left{
position: absolute;
width: 100%;
height: 100%;
background-position: -240px 0px;
}
.icono-flecha-right{
position: absolute;
right: 0px;
width: 100%;
height: 100%;
background-position: -280px 0px;
}
.icono-flechagr-arriba{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -160px -40px;
}
.icono-flechagr-abajo{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -240px -40px;
}
.icono-flechagr-left{
position: relative;
width: 26px;
height: 40px;
background-position: -247px 0px;
}
.icono-flechagr-right{
position: relative;
width: 26px;
height: 40px;
background-position: -287px 0px;
}
.icono-flechagr-left-2{
position: relative;
width: 100%;
height: 80px;
background-position: -15px -40px;
}
.icono-flechagr-right-2{
position: relative;
width: 100%;
height: 80px;
background-position: -95px -40px;
}
/*DIVISORES*/
.divisor-contenido-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
height: 50px;
margin: px 0px 15px 0px;
/*background-color: red;*/
}
.elemento-divisor-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: calc(100% - 20px);
max-width: calc(500px - 20px);
height: 1px;
border-top:2px solid rgba(217,16,22,1.00);
}
.forma-elemento-divisor-01{
width: 10px;
height: 10px;
background-color: rgba(217,16,22,1.00);
margin-bottom: 2px;
}
.link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
padding: 0px;
margin-top: 10px;
}
.caja-imagen-link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex: 0 0 30%;
margin-left: 0px;
margin-right: 10px;
padding: 0px;
}
.caja-url-link-destacado-parrafo{
position:relative;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: center;
flex-direction: column;
flex: 0 0 1;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul li{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
margin-bottom: 8px;
}
.caja-url-link-destacado-parrafo ul li div{
flex: 0 0 25px;
width: 25px;
height: 25px;
margin-right: 8px;
background-size: 725px 80px;
opacity: 1;
}
.caja-url-link-destacado-parrafo p{
line-height: 1.4rem;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo span{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.7rem;
line-height: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(0,0,0,1);
margin-top: 15px;
margin-right: 30px;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a{
font-family: 'SemanaSans-Bold';
font-size: 1rem;
line-height: 1.2rem;
color:rgba(255,255,255,0.7);
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a:hover{
color: rgba(233,27,30, 1);
}
.bloque-contenido{
padding: 0px 10px 0px 10px;
}
.contenedor-contenido-grilla {
padding: 0px;
/*border:4px solid red;*/
}
.contenedor-contenido-grilla-perfil-datos{
margin: 5px 0px 5px 0px;
padding: 40px 0px 45px 0px;
border-bottom:none !important;
}
.contenedor-contenido-grilla-perfil-datos:first-of-type{
padding-top: 0px;
}
/*.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla{}*/
.caja-contenido-grilla {
/*height: 400px;*/
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
text-align: center;
max-width: 900px;
margin: 0 auto;
/*border:4px solid peru;*/
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .contenedor-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-end;
flex-direction: row;
text-align: center;
/*flex: 0 0 50%;*/
flex: 0;
height: 100%;
width: auto;
margin: 0px;
padding: 0px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
position: absolute;
top: 50%;
left: inherit;
right: 0%;
-moz-transform: translateX(0%) translateY(-50%);
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 400px;
height: 400px;
border:1px solid rgba(0,0,0,0.2);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
text-align: center;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
/*max-width: 100%;
max-height: 100%;*/
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
border:1px solid rgba(0,0,0,0.1);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
}
.contenedor-imagen-perfil{
position: relative;
display: inline-block;
vertical-align: middle;
width: 33%;
margin-bottom: 5px;
padding-bottom: 33%;
/*border:5px solid cyan;*/
}
/*fade imagen perfil */
.caja-imagen-perfil {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
z-index: 0;
}
.caja-imagen-perfil .caja-imagen {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
overflow: hidden;
}
.caja-imagen-perfil .caja-imagen img {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
}
.caja-imagen-perfil .fade-1:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.8s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-2:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3.1s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-3:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.6s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-4:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.2s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-5:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-6:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.9s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(2) {
z-index: 10;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(n+3) {
display: none;
}
@keyframes fader1 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader2 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader3 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
/*texto caja perfil*/
.caja-texto-foto-grilla{
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
z-index: 2;
}
.caja-texto-foto-grilla a {
position: absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
z-index: 2;
/*background-color: pink;*/
}
.caja-texto-foto-grilla-fuera{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: flex-end;
flex-direction: column;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-texto-foto-grilla-fuera > div {
max-width: calc(100% - 0px);
margin: 0px 0px 40px 40px;
padding: 0px 40px 0px 0px;
}
.caja-texto-foto-grilla > div h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 10px;
padding-left: 0px;
}
.caja-texto-foto-grilla > div h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
margin-bottom: 5px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}
.caja-comilla-cita {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: relative;
width: 100%;
width: 155px;
height: 40px;
margin-top: 10px;
image-rendering: -webkit-optimize-contrast;
cursor: pointer;
z-index: 1;
}
.caja-comilla-cita a {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 0px;
margin-left: 10px;
}
.caja-informacion-perfil .caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color:rgba(0,0,0,1.00);
text-shadow: none;
margin-bottom: 0px;
margin-left: 10px;
}
.caja-comilla-cita img {
width: 40px !important;
height: 40px !important;
}
.boton-modal{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}
.bloque-info-cita{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 60px);
height: calc(100% - 60px);
background-color:rgba(0,0,0,0.5);
z-index: 1;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
/*visibility: hidden;*/
opacity: 0.3;
}
/************/
.bloque-info-cita-activo{
/*display: block;*/
opacity: 1;
visibility: visible;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
}
.bloque-opacidad-modal{
position: absolute;
width: 100%;
height: 100%;
background-color:rgba(0,0,0,0.4);
z-index: 1;
}
.bloque-info-cita img{
position: absolute;
top: 0px;
left: 0px;
max-width: 100%;
max-height: 100%;
z-index: 0;
}
.bloque-info-cita .caja-texto-foto-grilla h4 {
margin-bottom: 10px;
}
.bloque-info-cita .caja-comilla-cita {
width: 40px;
height: 40px;
background-color: rgba(233,27,30, 1);
}
.caja-foto-full-rostro{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 20px);
height: calc(100% - 20px);
z-index: 2;
border:2px solid rgba(255,255,255,1.00);
opacity: 0;
}
.caja-texto-foto-grilla p {
font-size: 0.7rem;
line-height: 0.9rem;
letter-spacing: 0;
text-transform: none;
text-align: left;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.5rem;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-comilla-cita p{
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 0px;
margin-left: 10px;
color: rgba(255,255,255,1.00);
}
.contenedor-informacion-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
/*flex: 0 0 50%;*/
flex: 1;
height: 100%;
padding: 0px;
/*border: 5px solid magenta;*/
}
.caja-informacion-perfil{
/*width: 50%;*/
width: 100% !important;
max-height: calc(100% - 120px);
overflow-y: auto;
padding: 30px 60px 20px 20px;
border-top:1px dashed rgba(0,0,0,0.2);
border-right:1px dashed rgba(0,0,0,0.2);
border-bottom:1px dashed rgba(0,0,0,0.2);
background-color: rgba(255,255,255,1.00);
background-image: url(https://multimedia.semana.com/2022/11_noviembre/recursos/EGQRSK4NTVDKVA…);
background-repeat: repeat;
background-position: center;
background-size: auto;
/*border:3px solid peru;*/
}
.caja-informacion-perfil h5{
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color:rgba(255,255,255,1.00);
margin-top: 30px;
margin-bottom: 10px;
padding-left: 0px;
}
.caja-informacion-perfil h5:first-of-type{
margin-top: 0px;
}
.caja-informacion-perfil h5:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil h3{
font-family: 'SemanaSans-ExtraBold' !important;
font-size: 1.5rem !important;
line-height: 1.9rem !important;
text-align: left;
/*text-transform: uppercase;*/
color:rgba(0,0,0,0.7) !important;
margin-bottom: 20px !important;
}
.caja-informacion-perfil h4{
font-family: 'SemanaSans-Light' !important;
font-size: 1.rem !important;
line-height: 1.2rem !important;
text-align: left;
text-transform: uppercase;
color:rgba(0,0,0,0.9) !important;
margin-bottom: 10px !important;
}
.caja-informacion-perfil p{
font-family: 'SemanaSerif-Bold';
font-size: 1.1rem;
line-height: 1.5rem;
text-align: left;
color:rgba(0,0,0,1.00);
margin-bottom: 0px;
}
.caja-informacion-perfil h5 span{
background-color: rgba(233, 27, 30, 1);
padding: 3px 7px 5px 7px
}
.caja-informacion-perfil ul{
list-style-type: square;
margin-bottom: 15px;
padding-left: 17px;
}
.caja-informacion-perfil ul:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li{
margin-bottom: 20px;
}
.caja-informacion-perfil ul li:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li h6{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.85rem;
line-height: 0.85rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,0.8);
margin-bottom: 5px;
}
.caja-informacion-perfil ul li p{
font-family: 'SemanaSans-Medium';
font-size: 1rem;
line-height: 1.35rem;
/*letter-spacing: 1px;*/
/*text-transform: uppercase;*/
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,1.00);
margin-bottom: 5px;
}
.contenedor-contenido-links-relacionado{
text-align: center;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 24%;
padding-bottom: 24%;
/*border:5px solid blue;*/
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil .caja-imagen img {
width: auto;
height: calc(100% + 10px);
max-width: none;
max-height: none;
}
.contenedor-contenido-links-relacionado .bloque-info-cita {
width: calc(100% - 30px);
height: calc(100% - 30px);
background-color: rgba(0,0,0,1);
opacity: 0.35;
}
.contenedor-logos{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
max-width: 1366px;
margin: 0 auto;
margin-bottom: 50px;
padding-top: 30px;
border-top:1px solid rgba(0,0,0,0.2);
}
.contenedor-logos > div:nth-last-child(2){
margin-bottom: 20px;
}
.contenedor-logos > div:nth-last-child(2) p{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 2px;
text-transform: uppercase;
padding-left: 0px;
color:rgba(0,0,0,0.3);
margin-bottom: 0px;
color: #989898;
}
.contenedor-logos > div:nth-last-child(1){
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.contenedor-logos > div:nth-last-child(1) div{
flex:0 0 22%;
width: 22%;
text-align: center;
margin-bottom: 40px;
}
.contenedor-logos > div:nth-last-child(1) div img{
width: auto !important;
max-width: 100%;
max-height: 100%;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8){
flex:0 0 30%;
width: 30%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7){
flex:0 0 30%;
width: 30%;
height: 35px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6){
flex:0 0 30%;
width: 30%;
height: 30px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1){
flex:0 0 18%;
width: 18%;
height: 60px;
}
@media screen and (max-width:1024px){
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 33%;
padding-bottom: 33%;
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 90px);
}
}
@media screen and (max-width:768px){
.contenedor-contenido-grilla {
text-align: center;
padding: 40px 10px 45px 10px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil {
/*height: auto;*/
height: inherit;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: 100%;
max-height: 300px;
}
.contenedor-imagen-perfil{
width: 47%;
padding-bottom: 47%;
/*border:1px solid cyan;*/
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 70px);
border-left: 1px dashed rgba(0,0,0,0.2);
padding: 30px 30px 20px 20px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 47%;
padding-bottom: 47%;
}
}
@media screen and (max-width:767px){
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
display: block;
height: auto;
padding: 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
width: 100%;
height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-informacion-perfil {
padding: 25px 30px 25px 30px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .bloque-info-cita {
top: calc(50% - 2px);
width: calc(100% - 20px);
height: calc(100% - 20px);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
border:none;
}
.caja-texto-foto-grilla-fuera > div {
margin: 0px 0px 25px 25px;
}
.caja-informacion-perfil {
width: 100%;
max-height: none;
border: none;
padding: 30px 0px 20px 0px;
}
}
@media screen and (max-width:677px){
.contenedor-contenido-grilla {
padding-top: 20px;
padding-bottom: 25px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
padding: 20px 20px 2px 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla.caja-embed {
padding: 0px 10px 0px 10px;
}
.contenedor-imagen-perfil{
width: 100%;
padding-bottom: 100%;
}
.contenedor-logos > div:nth-last-child(1) div {
margin-bottom: 15px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8) {
flex: 0 0 90%;
width: 90%;
height: 18px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7) {
flex: 0 0 90%;
width: 90%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6) {
flex: 0 0 90%;
width: 90%;
height: 20px;
margin-bottom: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 100%;
padding-bottom: 100%;
}
}
.contenedor-embed-flourish{}
/*.caja-embed{}*/
.caja-embed-flourish{
/*border:5px solid blue;*/
width: 100%;
max-width: 900px;
border-left: 1px dashed rgba(0,0,0,0.2);
border-right: 1px dashed rgba(0,0,0,0.2);
margin: 0 auto;
}
.contenedor-iframe-spreaker{
width: 100%;
margin-top: 5px;
padding: 5px 0px 10px 0px;
border-top: 1px dashed rgba(0,0,0,0.2);
border-bottom: 1px dashed rgba(0,0,0,0.2)
}
.contenedor-iframe-spreaker iframe{
max-width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos{
border-top: none;
}
Marcas elegidas por los colombianos adultos en telecomunicaciones y en banca
Estos son los nombres preferidos a la hora de escoger un teléfono celular, un proveedor de telefonía o una entidad para ahorrar.
Ir al artículo
Marcas populares en servicios financieros y en vehículos. Estas son las primeras que mencionan los consumidores
La medición de Top of mind ayuda a evaluar si una marca se distingue frente a sus competidores en términos de percepción y preferencia.
Ir al artículo
Ranking de las marcas preferidas en movilidad, comercio y relojes. Así las ven los consumidores
Identificar los nombres marcarios preferidos proporciona datos para ajustar campañas publicitarias, fortalecer la presencia de las empresas y mejorar su posicionamiento.
Ir al artículo
Esta es la primera opción de los adultos colombianos al elegir marcas de comida, educación, salud y comercio
En EPS, sobre todo, el tema estuvo más reñido. En alimentos de cadena hay una marca muy favorita y en universidades sucede un caso similar. En centros comerciales, el líder perdió 3 puntos.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
Sin embargo, hay hechos que preocupan en el posicionamiento de las marcas: dentro de los diez porcentajes de mayor crecimiento, frente a los resultados del año anterior, sorprende que el ‘no recuerda’ lidere en siete de ellos.La marca que da el salto más largo, al comparar las distintas categorías y frente al estudio de 2024, es PSE, en plataformas de pago digital, que sube 13 puntos y llega al 16 por ciento.En el estudio de recordación para niños y jóvenes, en la medición general, al mencionar las marcas espontáneamente sin tener en cuenta ninguna categoría, la pelea ha sido, en los últimos años, entre tres marcas: Adidas, Nike y Coca-Cola.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
/*full screen sin padding lateral */
.article-main {
padding: 0 0px;
}
.article-main .sticky-top.t60 {
z-index: 2;
}
.shareBar {
left: 20px;
}
.contenedor-html-fullwidth {
width: 100%;
min-width: 100%;
}
.raw_html {
width: 100%;
min-width: 100%;
}
.section.sp-8 {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
min-width: 100%;
}
.article-main p {
max-width: 640px;
}
/************/
* {
/*border:1px solid red;*/
}
.contenedor-html {
min-width: 1000px;
}
.caja-html {
width: 100%;
height: 300px;
}
/*MEDIA QUERIES*/
@media screen and (max-width:1024px) {
.raw_html {
width: 850px;
min-width: 850px;
}
/*.caja-html{}*/
}
@media only screen and (max-width: 960px) {
.raw_html {
width: 100%;
min-width: inherit;
}
/*.caja-html{}*/
}
@media screen and (max-width:900px) {
/*.caja-html{}*/
}
@media screen and (max-width:800px) {
/*.caja-html{}*/
}
@media screen and (max-width:700px) {
/*.caja-html{}*/
}
@media screen and (max-width:600px) {
/*.caja-html{}*/
}
@media screen and (max-width:500px) {
/*.caja-html{}*/
}
@media screen and (max-width:400px) {
/*.caja-html{}*/
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
body {
padding: 0;
margin: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
}
*, :after, :before {
box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-style: normal;
color: inherit;
text-rendering: optimizeLegibility;
margin-bottom: .5rem;
line-height: 1.4;
padding: 0;
margin: 0;
}
p, h1, h2, h3, h4, h5, h6 {
font-family: 'SemanaSerif-Regular';
padding: 0;
margin: 0;
}
div {
outline : none;
}
::selection {
background: rgba(0, 0, 0, 0.2);
}
::-moz-selection {
background: rgba(0, 0, 0, 0.2);
}
button{
border:none;
padding: 0px;
margin: 0px;
border-radius: 0px;
background-color: transparent;
}
button:focus{
outline: none;
}
/*ÍCONOS*/
/*iconos navegación*/
.icono-navsprite{
background-repeat: no-repeat;
background-size: 1120px 120px;
}
.icono-navsprite-blanco{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-negro{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-rojo{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-1{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-2{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-home{
background-position: -400px 0px;
}
.icono-home-2{
background-position: -480px 0px;
}
/*.icono-historias{
background-position: -440px 0px;
}*/
.icono-historias {
background-position: -445px 0px;
}
.icono-historias-2{
background-position: -560px 0px;
}
.icono-cerrar-menu{
background-position: -40.5px 0px;
}
.icono-ver-mas {
position: relative;
width: 40px;
height: 40px;
background-position: 0px 0px;
}
.icono-cerrar {
position: relative;
width: 40px;
height: 40px;
background-position: -40px 0px;
}
.icono-flecha-abajo{
position: relative;
width: 40px;
height: 25px;
margin: 0 auto;
background-position: -360px -7px;
}
.icono-flecha-left{
position: absolute;
width: 100%;
height: 100%;
background-position: -240px 0px;
}
.icono-flecha-right{
position: absolute;
right: 0px;
width: 100%;
height: 100%;
background-position: -280px 0px;
}
.icono-flechagr-arriba{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -160px -40px;
}
.icono-flechagr-abajo{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -240px -40px;
}
.icono-flechagr-left{
position: relative;
width: 26px;
height: 40px;
background-position: -247px 0px;
}
.icono-flechagr-right{
position: relative;
width: 26px;
height: 40px;
background-position: -287px 0px;
}
.icono-flechagr-left-2{
position: relative;
width: 100%;
height: 80px;
background-position: -15px -40px;
}
.icono-flechagr-right-2{
position: relative;
width: 100%;
height: 80px;
background-position: -95px -40px;
}
/*DIVISORES*/
.divisor-contenido-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
height: 50px;
margin: px 0px 15px 0px;
/*background-color: red;*/
}
.elemento-divisor-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: calc(100% - 20px);
max-width: calc(500px - 20px);
height: 1px;
border-top:2px solid rgba(217,16,22,1.00);
}
.forma-elemento-divisor-01{
width: 10px;
height: 10px;
background-color: rgba(217,16,22,1.00);
margin-bottom: 2px;
}
.link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
padding: 0px;
margin-top: 10px;
}
.caja-imagen-link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex: 0 0 30%;
margin-left: 0px;
margin-right: 10px;
padding: 0px;
}
.caja-url-link-destacado-parrafo{
position:relative;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: center;
flex-direction: column;
flex: 0 0 1;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul li{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
margin-bottom: 8px;
}
.caja-url-link-destacado-parrafo ul li div{
flex: 0 0 25px;
width: 25px;
height: 25px;
margin-right: 8px;
background-size: 725px 80px;
opacity: 1;
}
.caja-url-link-destacado-parrafo p{
line-height: 1.4rem;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo span{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.7rem;
line-height: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(0,0,0,1);
margin-top: 15px;
margin-right: 30px;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a{
font-family: 'SemanaSans-Bold';
font-size: 1rem;
line-height: 1.2rem;
color:rgba(255,255,255,0.7);
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a:hover{
color: rgba(233,27,30, 1);
}
.bloque-contenido{
padding: 0px 10px 0px 10px;
}
.contenedor-contenido-grilla {
padding: 0px;
/*border:4px solid red;*/
}
.contenedor-contenido-grilla-perfil-datos{
margin: 5px 0px 5px 0px;
padding: 40px 0px 45px 0px;
border-bottom:none !important;
}
.contenedor-contenido-grilla-perfil-datos:first-of-type{
padding-top: 0px;
}
/*.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla{}*/
.caja-contenido-grilla {
/*height: 400px;*/
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
text-align: center;
max-width: 900px;
margin: 0 auto;
/*border:4px solid peru;*/
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .contenedor-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-end;
flex-direction: row;
text-align: center;
/*flex: 0 0 50%;*/
flex: 0;
height: 100%;
width: auto;
margin: 0px;
padding: 0px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
position: absolute;
top: 50%;
left: inherit;
right: 0%;
-moz-transform: translateX(0%) translateY(-50%);
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 400px;
height: 400px;
border:1px solid rgba(0,0,0,0.2);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
text-align: center;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
/*max-width: 100%;
max-height: 100%;*/
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
border:1px solid rgba(0,0,0,0.1);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
}
.contenedor-imagen-perfil{
position: relative;
display: inline-block;
vertical-align: middle;
width: 33%;
margin-bottom: 5px;
padding-bottom: 33%;
/*border:5px solid cyan;*/
}
/*fade imagen perfil */
.caja-imagen-perfil {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
z-index: 0;
}
.caja-imagen-perfil .caja-imagen {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
overflow: hidden;
}
.caja-imagen-perfil .caja-imagen img {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
}
.caja-imagen-perfil .fade-1:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.8s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-2:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3.1s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-3:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.6s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-4:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.2s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-5:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-6:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.9s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(2) {
z-index: 10;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(n+3) {
display: none;
}
@keyframes fader1 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader2 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader3 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
/*texto caja perfil*/
.caja-texto-foto-grilla{
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
z-index: 2;
}
.caja-texto-foto-grilla a {
position: absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
z-index: 2;
/*background-color: pink;*/
}
.caja-texto-foto-grilla-fuera{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: flex-end;
flex-direction: column;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-texto-foto-grilla-fuera > div {
max-width: calc(100% - 0px);
margin: 0px 0px 40px 40px;
padding: 0px 40px 0px 0px;
}
.caja-texto-foto-grilla > div h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 10px;
padding-left: 0px;
}
.caja-texto-foto-grilla > div h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
margin-bottom: 5px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}
.caja-comilla-cita {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: relative;
width: 100%;
width: 155px;
height: 40px;
margin-top: 10px;
image-rendering: -webkit-optimize-contrast;
cursor: pointer;
z-index: 1;
}
.caja-comilla-cita a {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 0px;
margin-left: 10px;
}
.caja-informacion-perfil .caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color:rgba(0,0,0,1.00);
text-shadow: none;
margin-bottom: 0px;
margin-left: 10px;
}
.caja-comilla-cita img {
width: 40px !important;
height: 40px !important;
}
.boton-modal{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}
.bloque-info-cita{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 60px);
height: calc(100% - 60px);
background-color:rgba(0,0,0,0.5);
z-index: 1;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
/*visibility: hidden;*/
opacity: 0.3;
}
/************/
.bloque-info-cita-activo{
/*display: block;*/
opacity: 1;
visibility: visible;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
}
.bloque-opacidad-modal{
position: absolute;
width: 100%;
height: 100%;
background-color:rgba(0,0,0,0.4);
z-index: 1;
}
.bloque-info-cita img{
position: absolute;
top: 0px;
left: 0px;
max-width: 100%;
max-height: 100%;
z-index: 0;
}
.bloque-info-cita .caja-texto-foto-grilla h4 {
margin-bottom: 10px;
}
.bloque-info-cita .caja-comilla-cita {
width: 40px;
height: 40px;
background-color: rgba(233,27,30, 1);
}
.caja-foto-full-rostro{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 20px);
height: calc(100% - 20px);
z-index: 2;
border:2px solid rgba(255,255,255,1.00);
opacity: 0;
}
.caja-texto-foto-grilla p {
font-size: 0.7rem;
line-height: 0.9rem;
letter-spacing: 0;
text-transform: none;
text-align: left;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.5rem;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-comilla-cita p{
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 0px;
margin-left: 10px;
color: rgba(255,255,255,1.00);
}
.contenedor-informacion-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
/*flex: 0 0 50%;*/
flex: 1;
height: 100%;
padding: 0px;
/*border: 5px solid magenta;*/
}
.caja-informacion-perfil{
/*width: 50%;*/
width: 100% !important;
max-height: calc(100% - 120px);
overflow-y: auto;
padding: 30px 60px 20px 20px;
border-top:1px dashed rgba(0,0,0,0.2);
border-right:1px dashed rgba(0,0,0,0.2);
border-bottom:1px dashed rgba(0,0,0,0.2);
background-color: rgba(255,255,255,1.00);
background-image: url(https://multimedia.semana.com/2022/11_noviembre/recursos/EGQRSK4NTVDKVA…);
background-repeat: repeat;
background-position: center;
background-size: auto;
/*border:3px solid peru;*/
}
.caja-informacion-perfil h5{
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color:rgba(255,255,255,1.00);
margin-top: 30px;
margin-bottom: 10px;
padding-left: 0px;
}
.caja-informacion-perfil h5:first-of-type{
margin-top: 0px;
}
.caja-informacion-perfil h5:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil h3{
font-family: 'SemanaSans-ExtraBold' !important;
font-size: 1.5rem !important;
line-height: 1.9rem !important;
text-align: left;
/*text-transform: uppercase;*/
color:rgba(0,0,0,0.7) !important;
margin-bottom: 20px !important;
}
.caja-informacion-perfil h4{
font-family: 'SemanaSans-Light' !important;
font-size: 1.rem !important;
line-height: 1.2rem !important;
text-align: left;
text-transform: uppercase;
color:rgba(0,0,0,0.9) !important;
margin-bottom: 10px !important;
}
.caja-informacion-perfil p{
font-family: 'SemanaSerif-Bold';
font-size: 1.1rem;
line-height: 1.5rem;
text-align: left;
color:rgba(0,0,0,1.00);
margin-bottom: 0px;
}
.caja-informacion-perfil h5 span{
background-color: rgba(233, 27, 30, 1);
padding: 3px 7px 5px 7px
}
.caja-informacion-perfil ul{
list-style-type: square;
margin-bottom: 15px;
padding-left: 17px;
}
.caja-informacion-perfil ul:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li{
margin-bottom: 20px;
}
.caja-informacion-perfil ul li:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li h6{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.85rem;
line-height: 0.85rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,0.8);
margin-bottom: 5px;
}
.caja-informacion-perfil ul li p{
font-family: 'SemanaSans-Medium';
font-size: 1rem;
line-height: 1.35rem;
/*letter-spacing: 1px;*/
/*text-transform: uppercase;*/
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,1.00);
margin-bottom: 5px;
}
.contenedor-contenido-links-relacionado{
text-align: center;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 24%;
padding-bottom: 24%;
/*border:5px solid blue;*/
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil .caja-imagen img {
width: auto;
height: calc(100% + 10px);
max-width: none;
max-height: none;
}
.contenedor-contenido-links-relacionado .bloque-info-cita {
width: calc(100% - 30px);
height: calc(100% - 30px);
background-color: rgba(0,0,0,1);
opacity: 0.35;
}
.contenedor-logos{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
max-width: 1366px;
margin: 0 auto;
margin-bottom: 50px;
padding-top: 30px;
border-top:1px solid rgba(0,0,0,0.2);
}
.contenedor-logos > div:nth-last-child(2){
margin-bottom: 20px;
}
.contenedor-logos > div:nth-last-child(2) p{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 2px;
text-transform: uppercase;
padding-left: 0px;
color:rgba(0,0,0,0.3);
margin-bottom: 0px;
color: #989898;
}
.contenedor-logos > div:nth-last-child(1){
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.contenedor-logos > div:nth-last-child(1) div{
flex:0 0 22%;
width: 22%;
text-align: center;
margin-bottom: 40px;
}
.contenedor-logos > div:nth-last-child(1) div img{
width: auto !important;
max-width: 100%;
max-height: 100%;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8){
flex:0 0 30%;
width: 30%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7){
flex:0 0 30%;
width: 30%;
height: 35px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6){
flex:0 0 30%;
width: 30%;
height: 30px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1){
flex:0 0 18%;
width: 18%;
height: 60px;
}
@media screen and (max-width:1024px){
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 33%;
padding-bottom: 33%;
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 90px);
}
}
@media screen and (max-width:768px){
.contenedor-contenido-grilla {
text-align: center;
padding: 40px 10px 45px 10px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil {
/*height: auto;*/
height: inherit;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: 100%;
max-height: 300px;
}
.contenedor-imagen-perfil{
width: 47%;
padding-bottom: 47%;
/*border:1px solid cyan;*/
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 70px);
border-left: 1px dashed rgba(0,0,0,0.2);
padding: 30px 30px 20px 20px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 47%;
padding-bottom: 47%;
}
}
@media screen and (max-width:767px){
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
display: block;
height: auto;
padding: 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
width: 100%;
height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-informacion-perfil {
padding: 25px 30px 25px 30px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .bloque-info-cita {
top: calc(50% - 2px);
width: calc(100% - 20px);
height: calc(100% - 20px);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
border:none;
}
.caja-texto-foto-grilla-fuera > div {
margin: 0px 0px 25px 25px;
}
.caja-informacion-perfil {
width: 100%;
max-height: none;
border: none;
padding: 30px 0px 20px 0px;
}
}
@media screen and (max-width:677px){
.contenedor-contenido-grilla {
padding-top: 20px;
padding-bottom: 25px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
padding: 20px 20px 2px 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla.caja-embed {
padding: 0px 10px 0px 10px;
}
.contenedor-imagen-perfil{
width: 100%;
padding-bottom: 100%;
}
.contenedor-logos > div:nth-last-child(1) div {
margin-bottom: 15px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8) {
flex: 0 0 90%;
width: 90%;
height: 18px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7) {
flex: 0 0 90%;
width: 90%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6) {
flex: 0 0 90%;
width: 90%;
height: 20px;
margin-bottom: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 100%;
padding-bottom: 100%;
}
}
.contenedor-embed-flourish{}
/*.caja-embed{}*/
.caja-embed-flourish{
/*border:5px solid blue;*/
width: 100%;
max-width: 900px;
border-left: 1px dashed rgba(0,0,0,0.2);
border-right: 1px dashed rgba(0,0,0,0.2);
margin: 0 auto;
}
.contenedor-iframe-spreaker{
width: 100%;
margin-top: 5px;
padding: 5px 0px 10px 0px;
border-top: 1px dashed rgba(0,0,0,0.2);
border-bottom: 1px dashed rgba(0,0,0,0.2)
}
.contenedor-iframe-spreaker iframe{
max-width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos{
border-top: none;
}
Marcas líderes en la mente a la hora de escoger electrodomésticos, cemento o servicios de correo
Esta información permite medir la efectividad de las campañas de comunicación en el reconocimiento y preferencia de las marcas.
Ir al artículo
Top de marcas más recordadas en servicios digitales y comida para mascotas
Esta clasificación brinda perspectivas sobre cómo la marca es percibida en diferentes segmentos de consumidores por género, edad y región.
Ir al artículo
Marcas para compras por internet, neobancos, cajas de compensación y estaciones de gasolina: colombianos dieron su escalafón
Las cifras hablan por sí solas y algunas marcas le sacan una buena diferencia a su competencia.
Ir al artículo
Preferencias principales en marcas de dos servicios claves. Visión de los consumidores
Una marca con alto Top of Mind es vista como confiable y familiar, lo que facilita la fidelización.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
Este año, Adidas y Nike registraron un “cabeza a cabeza”, ganó la primera por un punto porcentual con 26 por ciento, el mismo porcentaje del año pasado, frente a 25 por ciento de la segunda. Coca-Cola cayó 6 puntos y quedó con 12 por ciento.Cuando se comparan los resultados de las categorías medidas en niños y jóvenes, las marcas que registran sus porcentajes más altos son: Colgate, con 84 por ciento, –al igual que en adultos–, y le siguen Jet, con 63 por ciento, y Familia, 57 por ciento.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
/*full screen sin padding lateral */
.article-main {
padding: 0 0px;
}
.article-main .sticky-top.t60 {
z-index: 2;
}
.shareBar {
left: 20px;
}
.contenedor-html-fullwidth {
width: 100%;
min-width: 100%;
}
.raw_html {
width: 100%;
min-width: 100%;
}
.section.sp-8 {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
min-width: 100%;
}
.article-main p {
max-width: 640px;
}
/************/
* {
/*border:1px solid red;*/
}
.contenedor-html {
min-width: 1000px;
}
.caja-html {
width: 100%;
height: 300px;
}
/*MEDIA QUERIES*/
@media screen and (max-width:1024px) {
.raw_html {
width: 850px;
min-width: 850px;
}
/*.caja-html{}*/
}
@media only screen and (max-width: 960px) {
.raw_html {
width: 100%;
min-width: inherit;
}
/*.caja-html{}*/
}
@media screen and (max-width:900px) {
/*.caja-html{}*/
}
@media screen and (max-width:800px) {
/*.caja-html{}*/
}
@media screen and (max-width:700px) {
/*.caja-html{}*/
}
@media screen and (max-width:600px) {
/*.caja-html{}*/
}
@media screen and (max-width:500px) {
/*.caja-html{}*/
}
@media screen and (max-width:400px) {
/*.caja-html{}*/
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
body {
padding: 0;
margin: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
}
*, :after, :before {
box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-style: normal;
color: inherit;
text-rendering: optimizeLegibility;
margin-bottom: .5rem;
line-height: 1.4;
padding: 0;
margin: 0;
}
p, h1, h2, h3, h4, h5, h6 {
font-family: 'SemanaSerif-Regular';
padding: 0;
margin: 0;
}
div {
outline : none;
}
::selection {
background: rgba(0, 0, 0, 0.2);
}
::-moz-selection {
background: rgba(0, 0, 0, 0.2);
}
button{
border:none;
padding: 0px;
margin: 0px;
border-radius: 0px;
background-color: transparent;
}
button:focus{
outline: none;
}
/*ÍCONOS*/
/*iconos navegación*/
.icono-navsprite{
background-repeat: no-repeat;
background-size: 1120px 120px;
}
.icono-navsprite-blanco{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-negro{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-rojo{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-1{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-2{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-home{
background-position: -400px 0px;
}
.icono-home-2{
background-position: -480px 0px;
}
/*.icono-historias{
background-position: -440px 0px;
}*/
.icono-historias {
background-position: -445px 0px;
}
.icono-historias-2{
background-position: -560px 0px;
}
.icono-cerrar-menu{
background-position: -40.5px 0px;
}
.icono-ver-mas {
position: relative;
width: 40px;
height: 40px;
background-position: 0px 0px;
}
.icono-cerrar {
position: relative;
width: 40px;
height: 40px;
background-position: -40px 0px;
}
.icono-flecha-abajo{
position: relative;
width: 40px;
height: 25px;
margin: 0 auto;
background-position: -360px -7px;
}
.icono-flecha-left{
position: absolute;
width: 100%;
height: 100%;
background-position: -240px 0px;
}
.icono-flecha-right{
position: absolute;
right: 0px;
width: 100%;
height: 100%;
background-position: -280px 0px;
}
.icono-flechagr-arriba{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -160px -40px;
}
.icono-flechagr-abajo{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -240px -40px;
}
.icono-flechagr-left{
position: relative;
width: 26px;
height: 40px;
background-position: -247px 0px;
}
.icono-flechagr-right{
position: relative;
width: 26px;
height: 40px;
background-position: -287px 0px;
}
.icono-flechagr-left-2{
position: relative;
width: 100%;
height: 80px;
background-position: -15px -40px;
}
.icono-flechagr-right-2{
position: relative;
width: 100%;
height: 80px;
background-position: -95px -40px;
}
/*DIVISORES*/
.divisor-contenido-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
height: 50px;
margin: px 0px 15px 0px;
/*background-color: red;*/
}
.elemento-divisor-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: calc(100% - 20px);
max-width: calc(500px - 20px);
height: 1px;
border-top:2px solid rgba(217,16,22,1.00);
}
.forma-elemento-divisor-01{
width: 10px;
height: 10px;
background-color: rgba(217,16,22,1.00);
margin-bottom: 2px;
}
.link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
padding: 0px;
margin-top: 10px;
}
.caja-imagen-link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex: 0 0 30%;
margin-left: 0px;
margin-right: 10px;
padding: 0px;
}
.caja-url-link-destacado-parrafo{
position:relative;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: center;
flex-direction: column;
flex: 0 0 1;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul li{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
margin-bottom: 8px;
}
.caja-url-link-destacado-parrafo ul li div{
flex: 0 0 25px;
width: 25px;
height: 25px;
margin-right: 8px;
background-size: 725px 80px;
opacity: 1;
}
.caja-url-link-destacado-parrafo p{
line-height: 1.4rem;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo span{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.7rem;
line-height: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(0,0,0,1);
margin-top: 15px;
margin-right: 30px;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a{
font-family: 'SemanaSans-Bold';
font-size: 1rem;
line-height: 1.2rem;
color:rgba(255,255,255,0.7);
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a:hover{
color: rgba(233,27,30, 1);
}
.bloque-contenido{
padding: 0px 10px 0px 10px;
}
.contenedor-contenido-grilla {
padding: 0px;
/*border:4px solid red;*/
}
.contenedor-contenido-grilla-perfil-datos{
margin: 5px 0px 5px 0px;
padding: 40px 0px 45px 0px;
border-bottom:none !important;
}
.contenedor-contenido-grilla-perfil-datos:first-of-type{
padding-top: 0px;
}
/*.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla{}*/
.caja-contenido-grilla {
/*height: 400px;*/
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
text-align: center;
max-width: 900px;
margin: 0 auto;
/*border:4px solid peru;*/
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .contenedor-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-end;
flex-direction: row;
text-align: center;
/*flex: 0 0 50%;*/
flex: 0;
height: 100%;
width: auto;
margin: 0px;
padding: 0px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
position: absolute;
top: 50%;
left: inherit;
right: 0%;
-moz-transform: translateX(0%) translateY(-50%);
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 400px;
height: 400px;
border:1px solid rgba(0,0,0,0.2);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
text-align: center;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
/*max-width: 100%;
max-height: 100%;*/
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
border:1px solid rgba(0,0,0,0.1);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
}
.contenedor-imagen-perfil{
position: relative;
display: inline-block;
vertical-align: middle;
width: 33%;
margin-bottom: 5px;
padding-bottom: 33%;
/*border:5px solid cyan;*/
}
/*fade imagen perfil */
.caja-imagen-perfil {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
z-index: 0;
}
.caja-imagen-perfil .caja-imagen {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
overflow: hidden;
}
.caja-imagen-perfil .caja-imagen img {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
}
.caja-imagen-perfil .fade-1:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.8s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-2:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3.1s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-3:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.6s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-4:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.2s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-5:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-6:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.9s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(2) {
z-index: 10;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(n+3) {
display: none;
}
@keyframes fader1 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader2 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader3 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
/*texto caja perfil*/
.caja-texto-foto-grilla{
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
z-index: 2;
}
.caja-texto-foto-grilla a {
position: absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
z-index: 2;
/*background-color: pink;*/
}
.caja-texto-foto-grilla-fuera{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: flex-end;
flex-direction: column;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-texto-foto-grilla-fuera > div {
max-width: calc(100% - 0px);
margin: 0px 0px 40px 40px;
padding: 0px 40px 0px 0px;
}
.caja-texto-foto-grilla > div h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 10px;
padding-left: 0px;
}
.caja-texto-foto-grilla > div h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
margin-bottom: 5px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}
.caja-comilla-cita {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: relative;
width: 100%;
width: 155px;
height: 40px;
margin-top: 10px;
image-rendering: -webkit-optimize-contrast;
cursor: pointer;
z-index: 1;
}
.caja-comilla-cita a {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 0px;
margin-left: 10px;
}
.caja-informacion-perfil .caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color:rgba(0,0,0,1.00);
text-shadow: none;
margin-bottom: 0px;
margin-left: 10px;
}
.caja-comilla-cita img {
width: 40px !important;
height: 40px !important;
}
.boton-modal{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}
.bloque-info-cita{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 60px);
height: calc(100% - 60px);
background-color:rgba(0,0,0,0.5);
z-index: 1;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
/*visibility: hidden;*/
opacity: 0.3;
}
/************/
.bloque-info-cita-activo{
/*display: block;*/
opacity: 1;
visibility: visible;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
}
.bloque-opacidad-modal{
position: absolute;
width: 100%;
height: 100%;
background-color:rgba(0,0,0,0.4);
z-index: 1;
}
.bloque-info-cita img{
position: absolute;
top: 0px;
left: 0px;
max-width: 100%;
max-height: 100%;
z-index: 0;
}
.bloque-info-cita .caja-texto-foto-grilla h4 {
margin-bottom: 10px;
}
.bloque-info-cita .caja-comilla-cita {
width: 40px;
height: 40px;
background-color: rgba(233,27,30, 1);
}
.caja-foto-full-rostro{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 20px);
height: calc(100% - 20px);
z-index: 2;
border:2px solid rgba(255,255,255,1.00);
opacity: 0;
}
.caja-texto-foto-grilla p {
font-size: 0.7rem;
line-height: 0.9rem;
letter-spacing: 0;
text-transform: none;
text-align: left;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.5rem;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-comilla-cita p{
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 0px;
margin-left: 10px;
color: rgba(255,255,255,1.00);
}
.contenedor-informacion-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
/*flex: 0 0 50%;*/
flex: 1;
height: 100%;
padding: 0px;
/*border: 5px solid magenta;*/
}
.caja-informacion-perfil{
/*width: 50%;*/
width: 100% !important;
max-height: calc(100% - 120px);
overflow-y: auto;
padding: 30px 60px 20px 20px;
border-top:1px dashed rgba(0,0,0,0.2);
border-right:1px dashed rgba(0,0,0,0.2);
border-bottom:1px dashed rgba(0,0,0,0.2);
background-color: rgba(255,255,255,1.00);
background-image: url(https://multimedia.semana.com/2022/11_noviembre/recursos/EGQRSK4NTVDKVA…);
background-repeat: repeat;
background-position: center;
background-size: auto;
/*border:3px solid peru;*/
}
.caja-informacion-perfil h5{
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color:rgba(255,255,255,1.00);
margin-top: 30px;
margin-bottom: 10px;
padding-left: 0px;
}
.caja-informacion-perfil h5:first-of-type{
margin-top: 0px;
}
.caja-informacion-perfil h5:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil h3{
font-family: 'SemanaSans-ExtraBold' !important;
font-size: 1.5rem !important;
line-height: 1.9rem !important;
text-align: left;
/*text-transform: uppercase;*/
color:rgba(0,0,0,0.7) !important;
margin-bottom: 20px !important;
}
.caja-informacion-perfil h4{
font-family: 'SemanaSans-Light' !important;
font-size: 1.rem !important;
line-height: 1.2rem !important;
text-align: left;
text-transform: uppercase;
color:rgba(0,0,0,0.9) !important;
margin-bottom: 10px !important;
}
.caja-informacion-perfil p{
font-family: 'SemanaSerif-Bold';
font-size: 1.1rem;
line-height: 1.5rem;
text-align: left;
color:rgba(0,0,0,1.00);
margin-bottom: 0px;
}
.caja-informacion-perfil h5 span{
background-color: rgba(233, 27, 30, 1);
padding: 3px 7px 5px 7px
}
.caja-informacion-perfil ul{
list-style-type: square;
margin-bottom: 15px;
padding-left: 17px;
}
.caja-informacion-perfil ul:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li{
margin-bottom: 20px;
}
.caja-informacion-perfil ul li:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li h6{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.85rem;
line-height: 0.85rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,0.8);
margin-bottom: 5px;
}
.caja-informacion-perfil ul li p{
font-family: 'SemanaSans-Medium';
font-size: 1rem;
line-height: 1.35rem;
/*letter-spacing: 1px;*/
/*text-transform: uppercase;*/
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,1.00);
margin-bottom: 5px;
}
.contenedor-contenido-links-relacionado{
text-align: center;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 24%;
padding-bottom: 24%;
/*border:5px solid blue;*/
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil .caja-imagen img {
width: auto;
height: calc(100% + 10px);
max-width: none;
max-height: none;
}
.contenedor-contenido-links-relacionado .bloque-info-cita {
width: calc(100% - 30px);
height: calc(100% - 30px);
background-color: rgba(0,0,0,1);
opacity: 0.35;
}
.contenedor-logos{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
max-width: 1366px;
margin: 0 auto;
margin-bottom: 50px;
padding-top: 30px;
border-top:1px solid rgba(0,0,0,0.2);
}
.contenedor-logos > div:nth-last-child(2){
margin-bottom: 20px;
}
.contenedor-logos > div:nth-last-child(2) p{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 2px;
text-transform: uppercase;
padding-left: 0px;
color:rgba(0,0,0,0.3);
margin-bottom: 0px;
color: #989898;
}
.contenedor-logos > div:nth-last-child(1){
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.contenedor-logos > div:nth-last-child(1) div{
flex:0 0 22%;
width: 22%;
text-align: center;
margin-bottom: 40px;
}
.contenedor-logos > div:nth-last-child(1) div img{
width: auto !important;
max-width: 100%;
max-height: 100%;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8){
flex:0 0 30%;
width: 30%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7){
flex:0 0 30%;
width: 30%;
height: 35px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6){
flex:0 0 30%;
width: 30%;
height: 30px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1){
flex:0 0 18%;
width: 18%;
height: 60px;
}
@media screen and (max-width:1024px){
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 33%;
padding-bottom: 33%;
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 90px);
}
}
@media screen and (max-width:768px){
.contenedor-contenido-grilla {
text-align: center;
padding: 40px 10px 45px 10px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil {
/*height: auto;*/
height: inherit;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: 100%;
max-height: 300px;
}
.contenedor-imagen-perfil{
width: 47%;
padding-bottom: 47%;
/*border:1px solid cyan;*/
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 70px);
border-left: 1px dashed rgba(0,0,0,0.2);
padding: 30px 30px 20px 20px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 47%;
padding-bottom: 47%;
}
}
@media screen and (max-width:767px){
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
display: block;
height: auto;
padding: 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
width: 100%;
height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-informacion-perfil {
padding: 25px 30px 25px 30px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .bloque-info-cita {
top: calc(50% - 2px);
width: calc(100% - 20px);
height: calc(100% - 20px);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
border:none;
}
.caja-texto-foto-grilla-fuera > div {
margin: 0px 0px 25px 25px;
}
.caja-informacion-perfil {
width: 100%;
max-height: none;
border: none;
padding: 30px 0px 20px 0px;
}
}
@media screen and (max-width:677px){
.contenedor-contenido-grilla {
padding-top: 20px;
padding-bottom: 25px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
padding: 20px 20px 2px 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla.caja-embed {
padding: 0px 10px 0px 10px;
}
.contenedor-imagen-perfil{
width: 100%;
padding-bottom: 100%;
}
.contenedor-logos > div:nth-last-child(1) div {
margin-bottom: 15px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8) {
flex: 0 0 90%;
width: 90%;
height: 18px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7) {
flex: 0 0 90%;
width: 90%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6) {
flex: 0 0 90%;
width: 90%;
height: 20px;
margin-bottom: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 100%;
padding-bottom: 100%;
}
}
.contenedor-embed-flourish{}
/*.caja-embed{}*/
.caja-embed-flourish{
/*border:5px solid blue;*/
width: 100%;
max-width: 900px;
border-left: 1px dashed rgba(0,0,0,0.2);
border-right: 1px dashed rgba(0,0,0,0.2);
margin: 0 auto;
}
.contenedor-iframe-spreaker{
width: 100%;
margin-top: 5px;
padding: 5px 0px 10px 0px;
border-top: 1px dashed rgba(0,0,0,0.2);
border-bottom: 1px dashed rgba(0,0,0,0.2)
}
.contenedor-iframe-spreaker iframe{
max-width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos{
border-top: none;
}
Niños y jóvenes: estas son sus marcas preferidas en todas las categorías de consumo
En el top 10 de la medición general, que lidera Adidas, el espacio está colonizado por marcas internacionales. La única nacional que se mete allí es Diana. Movistar es la que más crece al comparar los resultados de las diferentes categorías.
Ir al artículo
En la selección de marcas favoritas de los menores de edad no hubo resultados inesperados
Marcas de Jugos, leche, cremas dentales, jabones de baño, champús y papel higiénico tuvieron la respectiva elección del público objetivo.
Ir al artículo
Marcas asociadas a alimentos, computadores y redes sociales que llegan primero a la mente de los niños
Su posición en el top of mind les sirve para entender y optimizar su lugar en el mercado colombiano.
Ir al artículo
Estas marcas tecnológicas, financieras y automotrices se ubican en la cima de la recordación infantil
Tener una marca en mente reduce el tiempo y esfuerzo para elegir un producto o servicio.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
Pero si en adultos, el mayor crecimiento lo tiene la marca de una categoría ‘nueva’, en niños y jóvenes las mayores alzas están en sectores tradicionales: Movistar, en telefonía celular; Cristal, en aguas, y Colombina, en helados.Este año, el estudio retomó, para el segmento de adultos, el análisis de las marcas que generan más confianza y que son percibidas como las más innovadoras. Colgate lidera las dos variables con 85 por ciento y 89 por ciento, en el segmento de adultos.
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
/*full screen sin padding lateral */
.article-main {
padding: 0 0px;
}
.article-main .sticky-top.t60 {
z-index: 2;
}
.shareBar {
left: 20px;
}
.contenedor-html-fullwidth {
width: 100%;
min-width: 100%;
}
.raw_html {
width: 100%;
min-width: 100%;
}
.section.sp-8 {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
min-width: 100%;
}
.article-main p {
max-width: 640px;
}
/************/
* {
/*border:1px solid red;*/
}
.contenedor-html {
min-width: 1000px;
}
.caja-html {
width: 100%;
height: 300px;
}
/*MEDIA QUERIES*/
@media screen and (max-width:1024px) {
.raw_html {
width: 850px;
min-width: 850px;
}
/*.caja-html{}*/
}
@media only screen and (max-width: 960px) {
.raw_html {
width: 100%;
min-width: inherit;
}
/*.caja-html{}*/
}
@media screen and (max-width:900px) {
/*.caja-html{}*/
}
@media screen and (max-width:800px) {
/*.caja-html{}*/
}
@media screen and (max-width:700px) {
/*.caja-html{}*/
}
@media screen and (max-width:600px) {
/*.caja-html{}*/
}
@media screen and (max-width:500px) {
/*.caja-html{}*/
}
@media screen and (max-width:400px) {
/*.caja-html{}*/
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
body {
padding: 0;
margin: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
}
*, :after, :before {
box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
font-style: normal;
color: inherit;
text-rendering: optimizeLegibility;
margin-bottom: .5rem;
line-height: 1.4;
padding: 0;
margin: 0;
}
p, h1, h2, h3, h4, h5, h6 {
font-family: 'SemanaSerif-Regular';
padding: 0;
margin: 0;
}
div {
outline : none;
}
::selection {
background: rgba(0, 0, 0, 0.2);
}
::-moz-selection {
background: rgba(0, 0, 0, 0.2);
}
button{
border:none;
padding: 0px;
margin: 0px;
border-radius: 0px;
background-color: transparent;
}
button:focus{
outline: none;
}
/*ÍCONOS*/
/*iconos navegación*/
.icono-navsprite{
background-repeat: no-repeat;
background-size: 1120px 120px;
}
.icono-navsprite-blanco{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-negro{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-rojo{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-1{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-navsprite-gris-2{
background-image: url(https://especiales.semana.com/medicos-heroes-del-coronavirus-en-colombi…);
}
.icono-home{
background-position: -400px 0px;
}
.icono-home-2{
background-position: -480px 0px;
}
/*.icono-historias{
background-position: -440px 0px;
}*/
.icono-historias {
background-position: -445px 0px;
}
.icono-historias-2{
background-position: -560px 0px;
}
.icono-cerrar-menu{
background-position: -40.5px 0px;
}
.icono-ver-mas {
position: relative;
width: 40px;
height: 40px;
background-position: 0px 0px;
}
.icono-cerrar {
position: relative;
width: 40px;
height: 40px;
background-position: -40px 0px;
}
.icono-flecha-abajo{
position: relative;
width: 40px;
height: 25px;
margin: 0 auto;
background-position: -360px -7px;
}
.icono-flecha-left{
position: absolute;
width: 100%;
height: 100%;
background-position: -240px 0px;
}
.icono-flecha-right{
position: absolute;
right: 0px;
width: 100%;
height: 100%;
background-position: -280px 0px;
}
.icono-flechagr-arriba{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -160px -40px;
}
.icono-flechagr-abajo{
position: relative;
width: 80px;
height: 80px;
margin: 0 auto;
background-position: -240px -40px;
}
.icono-flechagr-left{
position: relative;
width: 26px;
height: 40px;
background-position: -247px 0px;
}
.icono-flechagr-right{
position: relative;
width: 26px;
height: 40px;
background-position: -287px 0px;
}
.icono-flechagr-left-2{
position: relative;
width: 100%;
height: 80px;
background-position: -15px -40px;
}
.icono-flechagr-right-2{
position: relative;
width: 100%;
height: 80px;
background-position: -95px -40px;
}
/*DIVISORES*/
.divisor-contenido-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
height: 50px;
margin: px 0px 15px 0px;
/*background-color: red;*/
}
.elemento-divisor-01{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
width: calc(100% - 20px);
max-width: calc(500px - 20px);
height: 1px;
border-top:2px solid rgba(217,16,22,1.00);
}
.forma-elemento-divisor-01{
width: 10px;
height: 10px;
background-color: rgba(217,16,22,1.00);
margin-bottom: 2px;
}
.link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
padding: 0px;
margin-top: 10px;
}
.caja-imagen-link-destacado-parrafo{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex: 0 0 30%;
margin-left: 0px;
margin-right: 10px;
padding: 0px;
}
.caja-url-link-destacado-parrafo{
position:relative;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: center;
flex-direction: column;
flex: 0 0 1;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.caja-url-link-destacado-parrafo ul li{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
margin-bottom: 8px;
}
.caja-url-link-destacado-parrafo ul li div{
flex: 0 0 25px;
width: 25px;
height: 25px;
margin-right: 8px;
background-size: 725px 80px;
opacity: 1;
}
.caja-url-link-destacado-parrafo p{
line-height: 1.4rem;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo span{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.7rem;
line-height: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(0,0,0,1);
margin-top: 15px;
margin-right: 30px;
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a{
font-family: 'SemanaSans-Bold';
font-size: 1rem;
line-height: 1.2rem;
color:rgba(255,255,255,0.7);
margin-bottom: 0px;
}
.caja-url-link-destacado-parrafo p a:hover{
color: rgba(233,27,30, 1);
}
.bloque-contenido{
padding: 0px 10px 0px 10px;
}
.contenedor-contenido-grilla {
padding: 0px;
/*border:4px solid red;*/
}
.contenedor-contenido-grilla-perfil-datos{
margin: 5px 0px 5px 0px;
padding: 40px 0px 45px 0px;
border-bottom:none !important;
}
.contenedor-contenido-grilla-perfil-datos:first-of-type{
padding-top: 0px;
}
/*.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla{}*/
.caja-contenido-grilla {
/*height: 400px;*/
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
text-align: center;
max-width: 900px;
margin: 0 auto;
/*border:4px solid peru;*/
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .contenedor-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-end;
flex-direction: row;
text-align: center;
/*flex: 0 0 50%;*/
flex: 0;
height: 100%;
width: auto;
margin: 0px;
padding: 0px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
position: absolute;
top: 50%;
left: inherit;
right: 0%;
-moz-transform: translateX(0%) translateY(-50%);
-webkit-transform: translateX(0%) translateY(-50%);
transform: translateX(0%) translateY(-50%);
width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
width: 400px;
height: 400px;
border:1px solid rgba(0,0,0,0.2);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
text-align: center;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
position: relative;
top: inherit;
left: inherit;
-moz-transform: none;
-webkit-transform: none;
transform: none;
/*max-width: 100%;
max-height: 100%;*/
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
border:1px solid rgba(0,0,0,0.1);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: calc(100% - 40px);
max-height: calc(100% - 40px);
}
.contenedor-imagen-perfil{
position: relative;
display: inline-block;
vertical-align: middle;
width: 33%;
margin-bottom: 5px;
padding-bottom: 33%;
/*border:5px solid cyan;*/
}
/*fade imagen perfil */
.caja-imagen-perfil {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
z-index: 0;
}
.caja-imagen-perfil .caja-imagen {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: 100%;
height: 100%;
overflow: hidden;
}
.caja-imagen-perfil .caja-imagen img {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
max-width: calc(100% - 20px);
max-height: calc(100% - 20px);
}
.caja-imagen-perfil .fade-1:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.8s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-2:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3.1s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-3:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.6s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-4:nth-of-type(1) {
animation-name: fader1;
animation-delay: 2.2s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-5:nth-of-type(1) {
animation-name: fader2;
animation-delay: 3s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .fade-6:nth-of-type(1) {
animation-name: fader3;
animation-delay: 1.9s;
animation-duration: 1s;
z-index: 20;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(2) {
z-index: 10;
}
.caja-imagen-perfil .caja-imagen:nth-of-type(n+3) {
display: none;
}
@keyframes fader1 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader2 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
@keyframes fader3 {
from { opacity: 1.0; }
to { opacity: 0.0; }
}
/*texto caja perfil*/
.caja-texto-foto-grilla{
position: absolute;
bottom: 20px;
left: 20px;
width: calc(100% - 40px);
z-index: 2;
}
.caja-texto-foto-grilla a {
position: absolute;
top:0px;
left:0px;
width: 100%;
height: 100%;
z-index: 2;
/*background-color: pink;*/
}
.caja-texto-foto-grilla-fuera{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-start;
-ms-flex-align: flex-start;
-webkit-align-items: flex-start;
align-items: flex-start;
justify-content: flex-end;
flex-direction: column;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-texto-foto-grilla-fuera > div {
max-width: calc(100% - 0px);
margin: 0px 0px 40px 40px;
padding: 0px 40px 0px 0px;
}
.caja-texto-foto-grilla > div h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 10px;
padding-left: 0px;
}
.caja-texto-foto-grilla > div h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
margin-bottom: 5px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}
.caja-comilla-cita {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: relative;
width: 100%;
width: 155px;
height: 40px;
margin-top: 10px;
image-rendering: -webkit-optimize-contrast;
cursor: pointer;
z-index: 1;
}
.caja-comilla-cita a {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
}
.caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color: rgba(255,255,255,1.00);
text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
margin-bottom: 0px;
margin-left: 10px;
}
.caja-informacion-perfil .caja-comilla-cita p {
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
line-height: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
color:rgba(0,0,0,1.00);
text-shadow: none;
margin-bottom: 0px;
margin-left: 10px;
}
.caja-comilla-cita img {
width: 40px !important;
height: 40px !important;
}
.boton-modal{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
flex-direction: row;
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}
.bloque-info-cita{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 60px);
height: calc(100% - 60px);
background-color:rgba(0,0,0,0.5);
z-index: 1;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
/*visibility: hidden;*/
opacity: 0.3;
}
/************/
.bloque-info-cita-activo{
/*display: block;*/
opacity: 1;
visibility: visible;
-moz-transition: all .6s ease-out;
-ms-transition: all .6s ease-out;
-o-transition: all .6s ease-out;
transition: all .6s ease-out;
}
.bloque-opacidad-modal{
position: absolute;
width: 100%;
height: 100%;
background-color:rgba(0,0,0,0.4);
z-index: 1;
}
.bloque-info-cita img{
position: absolute;
top: 0px;
left: 0px;
max-width: 100%;
max-height: 100%;
z-index: 0;
}
.bloque-info-cita .caja-texto-foto-grilla h4 {
margin-bottom: 10px;
}
.bloque-info-cita .caja-comilla-cita {
width: 40px;
height: 40px;
background-color: rgba(233,27,30, 1);
}
.caja-foto-full-rostro{
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
width: calc(100% - 20px);
height: calc(100% - 20px);
z-index: 2;
border:2px solid rgba(255,255,255,1.00);
opacity: 0;
}
.caja-texto-foto-grilla p {
font-size: 0.7rem;
line-height: 0.9rem;
letter-spacing: 0;
text-transform: none;
text-align: left;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h4 {
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.5rem;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-texto-foto-grilla h5 {
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color: rgba(255,255,255,1.00);
}
.caja-comilla-cita p{
flex: 1;
font-family: 'SemanaSans-Black';
font-size: 0.65rem;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 0px;
margin-left: 10px;
color: rgba(255,255,255,1.00);
}
.contenedor-informacion-perfil{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: flex-start;
/*flex: 0 0 50%;*/
flex: 1;
height: 100%;
padding: 0px;
/*border: 5px solid magenta;*/
}
.caja-informacion-perfil{
/*width: 50%;*/
width: 100% !important;
max-height: calc(100% - 120px);
overflow-y: auto;
padding: 30px 60px 20px 20px;
border-top:1px dashed rgba(0,0,0,0.2);
border-right:1px dashed rgba(0,0,0,0.2);
border-bottom:1px dashed rgba(0,0,0,0.2);
background-color: rgba(255,255,255,1.00);
background-image: url(https://multimedia.semana.com/2022/11_noviembre/recursos/EGQRSK4NTVDKVA…);
background-repeat: repeat;
background-position: center;
background-size: auto;
/*border:3px solid peru;*/
}
.caja-informacion-perfil h5{
font-family: 'SemanaSerif-ExtraBold';
font-size: 1.3rem;
line-height: 1.7rem;
text-align: left;
color:rgba(255,255,255,1.00);
margin-top: 30px;
margin-bottom: 10px;
padding-left: 0px;
}
.caja-informacion-perfil h5:first-of-type{
margin-top: 0px;
}
.caja-informacion-perfil h5:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil h3{
font-family: 'SemanaSans-ExtraBold' !important;
font-size: 1.5rem !important;
line-height: 1.9rem !important;
text-align: left;
/*text-transform: uppercase;*/
color:rgba(0,0,0,0.7) !important;
margin-bottom: 20px !important;
}
.caja-informacion-perfil h4{
font-family: 'SemanaSans-Light' !important;
font-size: 1.rem !important;
line-height: 1.2rem !important;
text-align: left;
text-transform: uppercase;
color:rgba(0,0,0,0.9) !important;
margin-bottom: 10px !important;
}
.caja-informacion-perfil p{
font-family: 'SemanaSerif-Bold';
font-size: 1.1rem;
line-height: 1.5rem;
text-align: left;
color:rgba(0,0,0,1.00);
margin-bottom: 0px;
}
.caja-informacion-perfil h5 span{
background-color: rgba(233, 27, 30, 1);
padding: 3px 7px 5px 7px
}
.caja-informacion-perfil ul{
list-style-type: square;
margin-bottom: 15px;
padding-left: 17px;
}
.caja-informacion-perfil ul:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li{
margin-bottom: 20px;
}
.caja-informacion-perfil ul li:last-of-type{
margin-bottom: 0px;
}
.caja-informacion-perfil ul li h6{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.85rem;
line-height: 0.85rem;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,0.8);
margin-bottom: 5px;
}
.caja-informacion-perfil ul li p{
font-family: 'SemanaSans-Medium';
font-size: 1rem;
line-height: 1.35rem;
/*letter-spacing: 1px;*/
/*text-transform: uppercase;*/
text-align: left;
padding-left: 0px;
color:rgba(0,0,0,1.00);
margin-bottom: 5px;
}
.contenedor-contenido-links-relacionado{
text-align: center;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 24%;
padding-bottom: 24%;
/*border:5px solid blue;*/
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.contenedor-contenido-links-relacionado .caja-imagen-perfil .caja-imagen img {
width: auto;
height: calc(100% + 10px);
max-width: none;
max-height: none;
}
.contenedor-contenido-links-relacionado .bloque-info-cita {
width: calc(100% - 30px);
height: calc(100% - 30px);
background-color: rgba(0,0,0,1);
opacity: 0.35;
}
.contenedor-logos{
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
max-width: 1366px;
margin: 0 auto;
margin-bottom: 50px;
padding-top: 30px;
border-top:1px solid rgba(0,0,0,0.2);
}
.contenedor-logos > div:nth-last-child(2){
margin-bottom: 20px;
}
.contenedor-logos > div:nth-last-child(2) p{
font-family: 'SemanaSans-ExtraBold';
font-size: 0.75rem;
line-height: 0.95rem;
letter-spacing: 2px;
text-transform: uppercase;
padding-left: 0px;
color:rgba(0,0,0,0.3);
margin-bottom: 0px;
color: #989898;
}
.contenedor-logos > div:nth-last-child(1){
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.contenedor-logos > div:nth-last-child(1) div{
flex:0 0 22%;
width: 22%;
text-align: center;
margin-bottom: 40px;
}
.contenedor-logos > div:nth-last-child(1) div img{
width: auto !important;
max-width: 100%;
max-height: 100%;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8){
flex:0 0 30%;
width: 30%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7){
flex:0 0 30%;
width: 30%;
height: 35px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6){
flex:0 0 30%;
width: 30%;
height: 30px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2){
flex:0 0 18%;
width: 18%;
height: 70px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1){
flex:0 0 18%;
width: 18%;
height: 60px;
}
@media screen and (max-width:1024px){
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 33%;
padding-bottom: 33%;
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 90px);
}
}
@media screen and (max-width:768px){
.contenedor-contenido-grilla {
text-align: center;
padding: 40px 10px 45px 10px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil {
/*height: auto;*/
height: inherit;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil iframe {
max-width: 100%;
max-height: 300px;
}
.contenedor-imagen-perfil{
width: 47%;
padding-bottom: 47%;
/*border:1px solid cyan;*/
}
.caja-informacion-perfil {
width: 100%;
max-height: calc(100% - 70px);
border-left: 1px dashed rgba(0,0,0,0.2);
padding: 30px 30px 20px 20px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 47%;
padding-bottom: 47%;
}
}
@media screen and (max-width:767px){
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
display: block;
height: auto;
padding: 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-texto-foto-grilla-fuera {
width: 100%;
height: 100%;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-informacion-perfil {
padding: 25px 30px 25px 30px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .bloque-info-cita {
top: calc(50% - 2px);
width: calc(100% - 20px);
height: calc(100% - 20px);
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla .caja-imagen-perfil .caja-imagen img {
max-width: 100%;
max-height: 100%;
border:none;
}
.caja-texto-foto-grilla-fuera > div {
margin: 0px 0px 25px 25px;
}
.caja-informacion-perfil {
width: 100%;
max-height: none;
border: none;
padding: 30px 0px 20px 0px;
}
}
@media screen and (max-width:677px){
.contenedor-contenido-grilla {
padding-top: 20px;
padding-bottom: 25px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla {
padding: 20px 20px 2px 20px;
}
.contenedor-contenido-grilla-perfil-datos .caja-contenido-grilla.caja-embed {
padding: 0px 10px 0px 10px;
}
.contenedor-imagen-perfil{
width: 100%;
padding-bottom: 100%;
}
.contenedor-logos > div:nth-last-child(1) div {
margin-bottom: 15px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(8) {
flex: 0 0 90%;
width: 90%;
height: 18px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(7) {
flex: 0 0 90%;
width: 90%;
height: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(6) {
flex: 0 0 90%;
width: 90%;
height: 20px;
margin-bottom: 25px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(5) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(4) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(3) {
flex: 0 0 32%;
width: 32%;
height: 50px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(2) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-logos > div:nth-last-child(1) > div:nth-last-child(1) {
flex: 0 0 32%;
width: 32%;
height: 40px;
}
.contenedor-contenido-links-relacionado .contenedor-imagen-perfil {
width: 100%;
padding-bottom: 100%;
}
}
.contenedor-embed-flourish{}
/*.caja-embed{}*/
.caja-embed-flourish{
/*border:5px solid blue;*/
width: 100%;
max-width: 900px;
border-left: 1px dashed rgba(0,0,0,0.2);
border-right: 1px dashed rgba(0,0,0,0.2);
margin: 0 auto;
}
.contenedor-iframe-spreaker{
width: 100%;
margin-top: 5px;
padding: 5px 0px 10px 0px;
border-top: 1px dashed rgba(0,0,0,0.2);
border-bottom: 1px dashed rgba(0,0,0,0.2)
}
.contenedor-iframe-spreaker iframe{
max-width: 400px;
height: 400px;
}
.contenedor-contenido-grilla-perfil-datos{
border-top: none;
}
Las marcas preferidas de niños y jóvenes en aerolíneas, comida rápida, supermercados y apps de domicilios
La elección tuvo preferencias muy marcadas. Avianca y Rappi son algunas de las empresas más votadas.
Ir al artículo
Estas marcas de entretenimiento y ropa son premiadas con la mayor recordación de los niños
Las marcas con alto Top of Mind suelen estar asociadas con calidad, confiabilidad y familiaridad, lo que tranquiliza al consumidor al tomar decisiones.
Ir al artículo
Época de cambios. Las marcas se enfrentan a grandes transformaciones económicas y sociales, que impulsan nuevos comportamientos en el consumo
Una verdadera revolución se está dando en el entorno en el que se mueven las marcas. Las empresas tendrán que ajustarse a nuevas demandas de productos y servicios, con más canales y nuevas rutinas.
Ir al artículo
La innovación, respuesta a tiempos difíciles y turbulentos. Allí está la posibilidad de una mayor diferenciación y el cuidado de la rentabilidad
Según McKinsey, la innovación estimula el impulso de crecimiento de las empresas a través de la aceleración de los negocios que las componen.
Ir al artículo
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
Estos resultados se dan en una transformación significativa en la estructura demográfica del país y en la forma en que los consumidores adquieren bienes, con menos personas por hogar, un crecimiento del comercio electrónico, mayores canales y cambios en la frecuencia de compra.
.caja-todo10{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: 100%;
max-width: 600px;
justify-content: center;
margin: 10px auto;
}
.caja-imagenes10{
margin: auto;
}
.caja-imagenes10 img{
-webkit-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
-moz-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
max-width: 180px;
height: 180px;
width: 100%;
z-index: 1;
}
.img_sep{
margin: auto;
}
.linea_izq{
width: 100%;
height: 100%;
max-width: 80%;
max-height: 2.5px;
background: #eb5c2e;
margin: auto;
}
@media (max-width: 768px){
.caja-todo10{
grid-template-columns: 25% 50% 25%;
max-width: 380px;
}
.linea_izq{
max-width: 80%;
}
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #eb5c2e;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Adultos
.contenedor-menu010 {
width: 100%;
font-family: Arial, sans-serif;
margin: auto;
padding: 0;
height: 30px;
}
.navegacion010 {
color: white;
padding: 15px;
text-align: center;
margin: auto;
width: 100%;
position: fixed;
top: 50px;
opacity: 0;
transition: opacity 0.3s ease-in-out;
z-index: 2;
overflow-x: auto;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
left: 0;
}
.navegacion010 ul {
width: 100%;
max-width: 160px;
background: #eb5c2e;
list-style: none;
margin: auto;
padding: 15px;
display: flex;
line-height: 16px;
justify-content: center;
-webkit-box-shadow: 0px 10px 28px -17px rgba(16,36,3,0.72);
-moz-box-shadow: 0px 10px 28px -17px rgba(16,36,3,0.72);
box-shadow: 0px 10px 28px -17px rgba(16,36,3,0.72);
}
.navegacion010 ul li {
margin: 0 15px;
flex-shrink: 0;
}
.navegacion010 ul li a {
color: white;
text-decoration: none;
font-size: 13px;
}
.contenido010 {
font-size: 9px;
color: white;
}
.la-contra{
transform: none !important;
}
@media (max-width: 1200px) {
.navegacion010 {
justify-content: flex-start;
padding-left: 10px;
}
.navegacion010 ul {
display: flex;
justify-content: flex-start;
overflow-x: auto;
padding-left: 10px;
padding-right: 10px;
}
.navegacion010 ul li:first-child {
margin-left: 10px;
}
.navegacion010 ul li:last-child {
margin-right: 10px;
}
}
Adultos
Jóvenes
Bienvenido
window.addEventListener('scroll', function() {
var barraNavegacion010 = document.getElementById('barra-navegacion010');
var seccionBienvenida010 = document.getElementById('seccion-bienvenida010');
var posicionBienvenida010 = seccionBienvenida010.getBoundingClientRect().top;
if (posicionBienvenida010
row && Object.keys(row).length > 1);
const columnas_g34 = Object.keys(data_g34[0]).filter(c => c !== "Marcas");
const nombresMarcas_g34 = data_g34.map(row => (row["Marcas"] || "").trim());
const marcasLista_g34 = document.getElementById('marcas-lista_g34');
marcasLista_g34.innerHTML = "";
const datasets_g34 = data_g34.map((row, index) => {
const color = colores_g34[index % colores_g34.length];
const nombreMarca = nombresMarcas_g34[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g34';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g34.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g34.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g34 = document.getElementById('grafica_g34');
const ctx_g34 = canvas_g34.getContext('2d');
const chartInstance = new Chart(ctx_g34, {
type: 'line',
data: {
labels: columnas_g34,
datasets: datasets_g34
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g34,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.formattedValue + '%';
},
labelPointStyle: function(context) {
return { pointStyle: 'rect', rotation: 0 };
}
}
}
},
elements: {
line: { borderWidth: ctx_g34.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g34.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g34.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: function(value) { return value + '%'; }
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
if (isMobile_g34) {
let touchStartX = 0;
let touchStartY = 0;
canvas_g34.addEventListener('touchstart', function(e) {
const touch = e.touches[0];
touchStartX = touch.clientX;
touchStartY = touch.clientY;
});
canvas_g34.addEventListener('touchend', function(e) {
const touch = e.changedTouches[0];
const dx = Math.abs(touch.clientX - touchStartX);
const dy = Math.abs(touch.clientY - touchStartY);
const maxMove = 10;
if (dx < maxMove && dy < maxMove) {
const event = new MouseEvent('click', {
clientX: touch.clientX,
clientY: touch.clientY,
bubbles: true
});
canvas_g34.dispatchEvent(event);
}
});
}
}
});
}
function checkVisibility() {
const el = document.querySelector('.body-graf-g04.hidden-obj');
if (el && isVisible(el)) {
cargarGraficaG34();
}
requestAnimationFrame(checkVisibility);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Bebidas
La hora de la cervezaEntre todas las bebidas frías y calientes, esta vez, la cerveza Águila fue la que más puntos porcentuales ganó frente a 2024: con 7 puntos más, llegó a 33 por ciento en recordación (para una de cada tres personas fue la marca de cervezas más recordada), superando así a Poker que ocupó el segundo lugar con 26 por ciento.Aunque con 3 puntos menos, Coca-Cola sigue siendo la líder en el top of mind de todas las bebidas, alcanzó 52 por ciento, ganándole a Postobón, que ocupó el segundo lugar y a Pepsi Cola, en cuarto lugar. Entre todas las categorías de esta medición, la gran líder de las bebidas perdió el primer lugar entre las tres primeras marcas más recordadas, un puesto que venía liderando continuamente, y que en esta oportunidad lo ocupó Diana.En aguardientes, el liderazgo está muy parejo: Antioqueño y Néctar empataron con 31 por ciento, tras una pérdida de 2 puntos del primero y 2 de ganancia por el segundo. Blanco del Valle se sigue asomando. En whisky, aunque sigue ganando el ‘no recuerda’ con 34 por ciento de recordación, se destaca la evolución de Old Parr que ganó 5 puntos frente al año pasado, al llegar a 16 por ciento. Buchanan’s llegó a 21 por ciento.En aguas embotelladas, Cristal de Postobón continúa con su liderazgo con 47 por ciento, el mismo obtenido el año pasado, y Brisa, con 28 por ciento, sigue en segundo lugar, aunque con un punto menos. A la hora del café, entre los molidos, Sello Rojo sigue liderando con 32 por ciento, aunque Águila Roja no se queda atrás, con 21 por ciento, y entre los instantáneos, Nescafé sigue dejando aroma, obtuvo 44 por ciento en recordación, mientras que Colcafé alcanzó 23 por ciento.A la hora del té y del chocolate, Hindú con 27 por ciento, empieza a ganarle espacio al ‘no recuerda’ con 40 por ciento, y Corona con 4 puntos más sigue liderando con 52 por ciento. Entre los jugos, con dos puntos más Hit sigue en el primer puesto, con 49 por ciento; y en bebidas energizantes Vive 100, aunque tuvo una caída de 5 puntos frente a 2024, sobresale con 29 por ciento. Y, entre las leches líquidas, Colanta le quitó el primer lugar a Alquería, con una diferencia de un punto: 27 por ciento vs. 26 por ciento.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Gaseosas
.body-graf-g35 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g35 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g35 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g35 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g35 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g35 { padding: 0; }
canvas#grafica_g35 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g35 { gap: 10px; max-width: 300px; }
.marca-item_g35 { font-size: 11px; }
.color-circulo_g35 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
Base: 600
const csvUrl_g35 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g35 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g35 = window.innerWidth < 600;
const eventosGrafica_g35 = isMobile_g35 ? ['click'] : ['mousemove', 'click'];
try {
Chart.register({
id: 'crosshairLine_g35',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
} catch (e) {}
(function () {
function isVisible_g35(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function cargarGrafica_g35() {
const el = document.querySelector('.body-graf-g35.hidden-obj');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g35, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g35 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g35 = Object.keys(data_g35[0]).filter(c => c !== "Marcas");
const nombresMarcas_g35 = data_g35.map(row => (row["Marcas"] || "").trim());
const marcasLista_g35 = document.getElementById('marcas-lista_g35');
marcasLista_g35.innerHTML = "";
const datasets_g35 = data_g35.map((row, index) => {
const color = colores_g35[index % colores_g35.length];
const nombreMarca = nombresMarcas_g35[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g35';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g35.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g35.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g35 = document.getElementById('grafica_g35');
const ctx_g35 = canvas_g35.getContext('2d');
new Chart(ctx_g35, {
type: 'line',
data: {
labels: columnas_g35,
datasets: datasets_g35
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g35,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.formattedValue + '%';
},
labelPointStyle: function(context) {
return {
pointStyle: 'rect',
rotation: 0
};
}
}
}
},
elements: {
line: { borderWidth: ctx_g35.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g35.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g35.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: function(value) { return value + '%'; }
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
if (isMobile_g35) {
let touchStartX = 0;
let touchStartY = 0;
canvas_g35.addEventListener('touchstart', function(e) {
const touch = e.touches[0];
touchStartX = touch.clientX;
touchStartY = touch.clientY;
});
canvas_g35.addEventListener('touchend', function(e) {
const touch = e.changedTouches[0];
const dx = Math.abs(touch.clientX - touchStartX);
const dy = Math.abs(touch.clientY - touchStartY);
const maxMove = 10;
if (dx < maxMove && dy < maxMove) {
const event = new MouseEvent('click', {
clientX: touch.clientX,
clientY: touch.clientY,
bubbles: true
});
canvas_g35.dispatchEvent(event);
}
});
}
}
});
}
function checkVisibility_g35() {
const el = document.querySelector('.body-graf-g35.hidden-obj');
if (el && isVisible_g35(el)) cargarGrafica_g35();
requestAnimationFrame(checkVisibility_g35);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g35);
});
})();
.body-2gra {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-graficas {
text-align: center;
margin-bottom: 20px;
}
.botones-graficas button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #ccc;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-graficas button:hover {
background-color: #e89a3b;
}
.botones-graficas button.activo {
background-color: #ea8522;
color: #fff;
}
.grafica-contenedor {
display: none;
}
.grafica-activa {
display: block;
}
.caja-logo-dinero {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-base {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-base {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-base div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-base span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-base span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación157
Confianza157
Base
TOM600
Innovación147
Confianza147
function mostrarGrafica_gb01(id, boton) {
document.querySelectorAll('.grafica-contenedor').forEach(el => el.classList.remove('grafica-activa'));
document.getElementById(id).classList.add('grafica-activa');
document.querySelectorAll('.botones-graficas button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
(function () {
function isVisible_gb01(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function cargarGrafica_gb01() {
const contenedor = document.getElementById('container_gb01');
if (!contenedor || contenedor.dataset.rendered) return;
contenedor.classList.add('visible-obj');
contenedor.dataset.rendered = "true";
const chartOptions_gb01 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid', colors: ['#5bc2f6', '#fb6c6c', '#ff9553'] },
states: {
hover: { filter: { type: 'none' } },
active: { filter: { type: 'none' } },
normal: { filter: { type: 'none' } }
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result_2023_gb01) {
const data = result_2023_gb01.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptions_gb01, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-container_2023_gb01"), opciones).render();
}
});
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptions_gb01, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-container_2025_gb01"), opciones).render();
}
});
}
function checkVisibility_gb01() {
const el = document.getElementById('container_gb01');
if (el && isVisible_gb01(el)) cargarGrafica_gb01();
requestAnimationFrame(checkVisibility_gb01);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_gb01);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Cerveza
.body-graf-g04 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g36 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g36 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g36 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g36 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g04 { padding: 0; }
canvas#grafica_g36 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g36 { gap: 10px; max-width: 300px; }
.marca-item_g36 { font-size: 11px; }
.color-circulo_g36 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
Base: 600
const csvUrl_g36 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g36 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g36 = window.innerWidth < 600;
const eventosGrafica_g36 = isMobile_g36 ? ['click'] : ['mousemove', 'click'];
try {
Chart.register({
id: 'crosshairLine_g36',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
} catch (e) {}
(function () {
function isVisible_g36(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function cargarGrafica_g36() {
const contenedor = document.getElementById('container_g36');
if (!contenedor || contenedor.dataset.rendered) return;
contenedor.classList.add('visible-obj');
contenedor.dataset.rendered = "true";
Papa.parse(csvUrl_g36, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g36 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g36 = Object.keys(data_g36[0]).filter(c => c !== "Marcas");
const nombresMarcas_g36 = data_g36.map(row => (row["Marcas"] || "").trim());
const marcasLista_g36 = document.getElementById('marcas-lista_g36');
marcasLista_g36.innerHTML = "";
const datasets_g36 = data_g36.map((row, index) => {
const color = colores_g36[index % colores_g36.length];
const nombreMarca = nombresMarcas_g36[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g36';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g36.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g36.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g36 = document.getElementById('grafica_g36');
const ctx_g36 = canvas_g36.getContext('2d');
new Chart(ctx_g36, {
type: 'line',
data: {
labels: columnas_g36,
datasets: datasets_g36
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g36,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.formattedValue;
},
labelPointStyle: function(context) {
return {
pointStyle: 'rect',
rotation: 0
};
}
}
}
},
elements: {
line: { borderWidth: ctx_g36.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g36.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g36.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
if (isMobile_g36) {
let touchStartX = 0;
let touchStartY = 0;
canvas_g36.addEventListener('touchstart', function(e) {
const touch = e.touches[0];
touchStartX = touch.clientX;
touchStartY = touch.clientY;
});
canvas_g36.addEventListener('touchend', function(e) {
const touch = e.changedTouches[0];
const dx = Math.abs(touch.clientX - touchStartX);
const dy = Math.abs(touch.clientY - touchStartY);
const maxMove = 10;
if (dx < maxMove && dy < maxMove) {
const event = new MouseEvent('click', {
clientX: touch.clientX,
clientY: touch.clientY,
bubbles: true
});
canvas_g36.dispatchEvent(event);
}
});
}
}
});
}
function checkVisibility_g36() {
const el = document.getElementById('container_g36');
if (el && isVisible_g36(el)) cargarGrafica_g36();
requestAnimationFrame(checkVisibility_g36);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g36);
});
})();
.body-g02 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g02 {
text-align: center;
margin-bottom: 20px;
}
.botones-g02 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #ccc;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g02 button:hover {
background-color: #e89a3b;
}
.botones-g02 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g02 {
display: none;
}
.activa-g02 {
display: block;
}
.logo-dinero-g02 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g02 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g02 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g02 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g02 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g02 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g02 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación140
Confianza140
Base
TOM600
Innovación140
Confianza140
function mostrarGraficaG02(id, boton) {
document.querySelectorAll('.contenedor-grafica-g02').forEach(el => el.classList.remove('activa-g02'));
document.getElementById(id).classList.add('activa-g02');
document.querySelectorAll('.botones-g02 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
(function () {
function isVisible_g02(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function cargarGrafica_g02() {
const contenedor = document.getElementById('container_g02');
if (!contenedor || contenedor.dataset.rendered) return;
contenedor.classList.add('visible-obj');
contenedor.dataset.rendered = "true";
const chartOptionsG02 = {
chart: { type: 'bar', height: 500, animations: { enabled: true, easing: 'easeinout', speed: 300 }, toolbar: { show: false } },
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: { bar: { horizontal: false, columnWidth: '70%', endingShape: 'rounded', dataLabels: { position: 'top' } } },
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: { enabled: true, formatter: val => val + '%', offsetY: -20, style: { fontSize: window.innerWidth < 600 ? '8px' : '10px', fontWeight: '300', colors: ['#666666'] } },
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true, header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG02, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: { categories: categorias, labels: { rotate: -45, style: { colors: '#999999' } } },
yaxis: { max: 100, labels: { formatter: val => val + '%', style: { colors: '#999999' } } }
});
new ApexCharts(document.querySelector("#grafica-g02-2023"), opciones).render();
}
});
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true, header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG02, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: { categories: categorias, labels: { rotate: -45, style: { colors: '#999999' } } },
yaxis: { max: 100, labels: { formatter: val => val + '%', style: { colors: '#999999' } } }
});
new ApexCharts(document.querySelector("#grafica-g02-2025"), opciones).render();
}
});
}
function checkVisibility_g02() {
const el = document.getElementById('container_g02');
if (el && isVisible_g02(el)) cargarGrafica_g02();
requestAnimationFrame(checkVisibility_g02);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g02);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Aguardiente
.body-graf-g04 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g37 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g37 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g37 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g37 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g04 { padding: 0; }
canvas#grafica_g37 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g37 { gap: 10px; max-width: 300px; }
.marca-item_g37 { font-size: 11px; }
.color-circulo_g37 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g37 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g37 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g37 = window.innerWidth < 600;
const eventosGrafica_g37 = isMobile_g37 ? ['click'] : ['mousemove', 'click'];
function isVisible_g37(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g37() {
const el = document.getElementById('grafica-container_g37');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g37, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g37 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g37 = Object.keys(data_g37[0]).filter(c => c !== "Marcas");
const nombresMarcas_g37 = data_g37.map(row => (row["Marcas"] || "").trim());
const marcasLista_g37 = document.getElementById('marcas-lista_g37');
marcasLista_g37.innerHTML = "";
const datasets_g37 = data_g37.map((row, index) => {
const color = colores_g37[index % colores_g37.length];
const nombreMarca = nombresMarcas_g37[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g37';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g37.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g37.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g37 = document.getElementById('grafica_g37');
const ctx_g37 = canvas_g37.getContext('2d');
new Chart(ctx_g37, {
type: 'line',
data: {
labels: columnas_g37,
datasets: datasets_g37
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g37,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.formattedValue;
},
labelPointStyle: function(context) {
return {
pointStyle: 'rect',
rotation: 0
};
}
}
}
},
elements: {
line: { borderWidth: ctx_g37.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g37.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g37.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g37() {
const el = document.getElementById('grafica-container_g37');
if (el && isVisible_g37(el)) renderGrafica_g37();
requestAnimationFrame(checkVisibility_g37);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g37);
});
})();
.body-g03 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g03 {
text-align: center;
margin-bottom: 20px;
}
.botones-g03 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g03 button:hover {
background-color: #e89a3b;
}
.botones-g03 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g03 {
display: none;
}
.activa-g03 {
display: block;
}
.logo-dinero-g03 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g03 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g03 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g03 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g03 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g03 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g03 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación141
Confianza141
Base
TOM600
Innovación155
Confianza155
function mostrarGraficaG03(id, boton) {
document.querySelectorAll('.contenedor-grafica-g03').forEach(el => el.classList.remove('activa-g03'));
document.getElementById(id).classList.add('activa-g03');
document.querySelectorAll('.botones-g03 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG03() {
const chartOptionsG03 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG03, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g03-2023"), opciones).render();
}
});
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG03, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g03-2025"), opciones).render();
}
});
}
function checkVisibilityG03() {
const el = document.querySelector('.body-g03.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG03();
}
requestAnimationFrame(checkVisibilityG03);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG03);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Whisky
.body-graf-g38 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g38 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g38 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g38 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g38 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g38 { padding: 0; }
canvas#grafica_g38 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g38 { gap: 10px; max-width: 300px; }
.marca-item_g38 { font-size: 11px; }
.color-circulo_g38 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g38 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g38 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g38 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g38 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g38 = window.innerWidth < 600;
const eventosGrafica_g38 = isMobile_g38 ? ['click'] : ['mousemove', 'click'];
function isVisible_g38(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g38() {
const el = document.querySelector('.body-graf-g38.hidden-obj_g38');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g38');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g38, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g38 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g38 = Object.keys(data_g38[0]).filter(c => c !== "Marcas");
const nombresMarcas_g38 = data_g38.map(row => (row["Marcas"] || "").trim());
const marcasLista_g38 = document.getElementById('marcas-lista_g38');
marcasLista_g38.innerHTML = "";
const datasets_g38 = data_g38.map((row, index) => {
const color = colores_g38[index % colores_g38.length];
const nombreMarca = nombresMarcas_g38[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g38';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g38.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g38.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g38 = document.getElementById('grafica_g38');
const ctx_g38 = canvas_g38.getContext('2d');
new Chart(ctx_g38, {
type: 'line',
data: {
labels: columnas_g38,
datasets: datasets_g38
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g38,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: function(context) {
return context.dataset.label + ': ' + context.formattedValue + '%';
},
labelPointStyle: function(context) {
return {
pointStyle: 'rect',
rotation: 0
};
}
}
}
},
elements: {
line: { borderWidth: ctx_g38.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g38.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g38.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g38() {
const el = document.querySelector('.body-graf-g38.hidden-obj_g38');
if (el && isVisible_g38(el)) renderGrafica_g38();
requestAnimationFrame(checkVisibility_g38);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g38);
});
})();
.body-g004 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g004 {
text-align: center;
margin-bottom: 20px;
}
.botones-g004 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g004 button:hover {
background-color: #e89a3b;
}
.botones-g004 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g004 {
display: none;
}
.activa-g004 {
display: block;
}
.logo-dinero-g004 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g004 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g004 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g004 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g004 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g004 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g004 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación117
Confianza117
Base
TOM600
Innovación98
Confianza98
function mostrarGraficaG004(id, boton) {
document.querySelectorAll('.contenedor-grafica-g004').forEach(el => el.classList.remove('activa-g004'));
document.getElementById(id).classList.add('activa-g004');
document.querySelectorAll('.botones-g004 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG004() {
const chartOptionsG004 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG004, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g004-2023"), opciones).render();
}
});
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG004, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g004-2025"), opciones).render();
}
});
}
function checkVisibilityG004() {
const el = document.querySelector('.body-g004.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG004();
}
requestAnimationFrame(checkVisibilityG004);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG004);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Aguas Embotelladas
.body-graf-g39 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g39 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g39 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g39 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g39 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g39 { padding: 0; }
canvas#grafica_g39 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g39 { gap: 10px; max-width: 300px; }
.marca-item_g39 { font-size: 11px; }
.color-circulo_g39 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g39 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g39 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g39 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g39 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g39 = window.innerWidth < 600;
const eventosGrafica_g39 = isMobile_g39 ? ['click'] : ['mousemove', 'click'];
function isVisible_g39(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g39() {
const el = document.querySelector('.body-graf-g39.hidden-obj_g39');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g39');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g39, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g39 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g39 = Object.keys(data_g39[0]).filter(c => c !== "Marcas");
const nombresMarcas_g39 = data_g39.map(row => (row["Marcas"] || "").trim());
const marcasLista_g39 = document.getElementById('marcas-lista_g39');
marcasLista_g39.innerHTML = "";
const datasets_g39 = data_g39.map((row, index) => {
const color = colores_g39[index % colores_g39.length];
const nombreMarca = nombresMarcas_g39[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g39';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g39.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g39.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g39 = document.getElementById('grafica_g39');
const ctx_g39 = canvas_g39.getContext('2d');
new Chart(ctx_g39, {
type: 'line',
data: {
labels: columnas_g39,
datasets: datasets_g39
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g39,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: context => `${context.dataset.label}: ${context.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx_g39.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g39.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g39.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g39() {
const el = document.querySelector('.body-graf-g39.hidden-obj_g39');
if (el && isVisible_g39(el)) renderGrafica_g39();
requestAnimationFrame(checkVisibility_g39);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g39);
});
})();
.body-g005 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g005 {
text-align: center;
margin-bottom: 20px;
}
.botones-g005 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g005 button:hover {
background-color: #e89a3b;
}
.botones-g005 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g005 {
display: none;
}
.activa-g005 {
display: block;
}
.logo-dinero-g005 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g005 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g005 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g005 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g005 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g005 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g005 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación150
Confianza150
Base
TOM600
Innovación146
Confianza146
function mostrarGraficaG005(id, boton) {
document.querySelectorAll('.contenedor-grafica-g005').forEach(el => el.classList.remove('activa-g005'));
document.getElementById(id).classList.add('activa-g005');
document.querySelectorAll('.botones-g005 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG005() {
const chartOptionsG005 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG005, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g005-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG005, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g005-2025"), opciones).render();
}
});
}
function checkVisibilityG005() {
const el = document.querySelector('.body-g005.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG005();
}
requestAnimationFrame(checkVisibilityG005);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG005);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Café Molido
.body-graf-g40 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g40 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g40 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g40 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g40 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g40 { padding: 0; }
canvas#grafica_g40 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g40 { gap: 10px; max-width: 300px; }
.marca-item_g40 { font-size: 11px; }
.color-circulo_g40 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g40 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g40 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g40 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g40 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g40 = window.innerWidth < 600;
const eventosGrafica_g40 = isMobile_g40 ? ['click'] : ['mousemove', 'click'];
function isVisible_g40(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g40() {
const el = document.querySelector('.body-graf-g40.hidden-obj_g40');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g40');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g40, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g40 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g40 = Object.keys(data_g40[0]).filter(c => c !== "Marcas");
const nombresMarcas_g40 = data_g40.map(row => (row["Marcas"] || "").trim());
const marcasLista_g40 = document.getElementById('marcas-lista_g40');
marcasLista_g40.innerHTML = "";
const datasets_g40 = data_g40.map((row, index) => {
const color = colores_g40[index % colores_g40.length];
const nombreMarca = nombresMarcas_g40[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g40';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g40.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g40.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas_g40 = document.getElementById('grafica_g40');
const ctx_g40 = canvas_g40.getContext('2d');
new Chart(ctx_g40, {
type: 'line',
data: {
labels: columnas_g40,
datasets: datasets_g40
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g40,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: context => `${context.dataset.label}: ${context.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx_g40.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx_g40.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx_g40.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g40() {
const el = document.querySelector('.body-graf-g40.hidden-obj_g40');
if (el && isVisible_g40(el)) renderGrafica_g40();
requestAnimationFrame(checkVisibility_g40);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g40);
});
})();
.body-g00555 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g00555 {
text-align: center;
margin-bottom: 20px;
}
.botones-g00555 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g00555 button:hover {
background-color: #e89a3b;
}
.botones-g00555 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g00555 {
display: none;
}
.activa-g00555 {
display: block;
}
.logo-dinero-g00555 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g00555 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g00555 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g00555 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g00555 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g00555 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g00555 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación139
Confianza139
Base
TOM600
Innovación136
Confianza136
function mostrarGraficaG00555(id, boton) {
document.querySelectorAll('.contenedor-grafica-g00555').forEach(el => el.classList.remove('activa-g00555'));
document.getElementById(id).classList.add('activa-g00555');
document.querySelectorAll('.botones-g00555 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG00555() {
const chartOptionsG00555 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG00555, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g00555-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG00555, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g00555-2025"), opciones).render();
}
});
}
function checkVisibilityG00555() {
const el = document.querySelector('.body-g00555.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG00555();
}
requestAnimationFrame(checkVisibilityG00555);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG00555);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Café Instantáneo
.body-graf-g41 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g41 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g41 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g41 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g41 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g41 { padding: 0; }
canvas#grafica_g41 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g41 { gap: 10px; max-width: 300px; }
.marca-item_g41 { font-size: 11px; }
.color-circulo_g41 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g41 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g41 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g41 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g41 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g41 = window.innerWidth < 600;
const eventosGrafica_g41 = isMobile_g41 ? ['click'] : ['mousemove', 'click'];
function isVisible_g41(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g41() {
const el = document.querySelector('.body-graf-g41.hidden-obj_g41');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g41');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g41, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data_g41 = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas_g41 = Object.keys(data_g41[0]).filter(c => c !== "Marcas");
const nombresMarcas_g41 = data_g41.map(row => (row["Marcas"] || "").trim());
const marcasLista_g41 = document.getElementById('marcas-lista_g41');
marcasLista_g41.innerHTML = "";
const datasets_g41 = data_g41.map((row, index) => {
const color = colores_g41[index % colores_g41.length];
const nombreMarca = nombresMarcas_g41[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g41';
marcaDiv.innerHTML = ` ${nombreMarca}`;
marcasLista_g41.appendChild(marcaDiv);
return {
label: nombreMarca,
data: columnas_g41.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const canvas = document.getElementById('grafica_g41');
const ctx = canvas.getContext('2d');
new Chart(ctx, {
type: 'line',
data: {
labels: columnas_g41,
datasets: datasets_g41
},
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g41,
layout: {
padding: { left: 10, right: 10, top: 20, bottom: 10 }
},
interaction: {
mode: 'index',
intersect: false,
axis: 'x'
},
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: context => `${context.dataset.label}: ${context.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g41() {
const el = document.querySelector('.body-graf-g41.hidden-obj_g41');
if (el && isVisible_g41(el)) renderGrafica_g41();
requestAnimationFrame(checkVisibility_g41);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g41);
});
})();
.body-mon011 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-mon011 {
text-align: center;
margin-bottom: 20px;
}
.botones-mon011 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-mon011 button:hover {
background-color: #e89a3b;
}
.botones-mon011 button.activo-mon011 {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-mon011 {
display: none;
}
.activa-mon011 {
display: block;
}
.logo-dinero-mon011 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-mon011 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-mon011 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-mon011 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-mon011 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-mon011 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-mon011 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom-mon011 { border: 1.5px solid #5bc2f6; }
.innovacion-mon011 { border: 1.5px solid #fb6c6c; }
.confianza-mon011 { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj-mon011 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj-mon011 {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación126
Confianza126
Base
TOM600
Innovación143
Confianza143
function mostrarGraficaMon011(id, boton) {
document.querySelectorAll('.contenedor-grafica-mon011').forEach(el => el.classList.remove('activa-mon011'));
document.getElementById(id).classList.add('activa-mon011');
document.querySelectorAll('.botones-mon011 button').forEach(btn => btn.classList.remove('activo-mon011'));
boton.classList.add('activo-mon011');
}
function cargarGraficasMon011() {
const chartOptionsMon011 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
// CSV 2023
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsMon011, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#chart-mon011-2023"), opciones).render();
}
});
// CSV 2025
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsMon011, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#chart-mon011-2025"), opciones).render();
}
});
}
function checkVisibilityMon011() {
const el = document.querySelector('.body-mon011.hidden-obj-mon011');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj-mon011');
el.dataset.rendered = 'true';
cargarGraficasMon011();
}
requestAnimationFrame(checkVisibilityMon011);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityMon011);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Chocolate Caliente
.body-graf-g42 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g42 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g42 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g42 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g42 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g42 { padding: 0; }
canvas#grafica_g42 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g42 { gap: 10px; max-width: 300px; }
.marca-item_g42 { font-size: 11px; }
.color-circulo_g42 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g42 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g42 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g42 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g42 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g42 = window.innerWidth < 600;
const eventosGrafica_g42 = isMobile_g42 ? ['click'] : ['mousemove', 'click'];
function isVisible_g42(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g42() {
const el = document.querySelector('.body-graf-g42.hidden-obj_g42');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g42');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g42, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g42');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g42[index % colores_g42.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g42';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g42').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g42,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g42() {
const el = document.querySelector('.body-graf-g42.hidden-obj_g42');
if (el && isVisible_g42(el)) renderGrafica_g42();
requestAnimationFrame(checkVisibility_g42);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g42);
});
})();
.body-g008 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g008 {
text-align: center;
margin-bottom: 20px;
}
.botones-g008 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g008 button:hover {
background-color: #e89a3b;
}
.botones-g008 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g008 {
display: none;
}
.activa-g008 {
display: block;
}
.logo-dinero-g008 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g008 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g008 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g008 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g008 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g008 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g008 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación146
Confianza146
Base
TOM600
Innovación133
Confianza133
function mostrarGraficaG008(id, boton) {
document.querySelectorAll('.contenedor-grafica-g008').forEach(el => el.classList.remove('activa-g008'));
document.getElementById(id).classList.add('activa-g008');
document.querySelectorAll('.botones-g008 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG008() {
const chartOptionsG008 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG008, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g008-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG008, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g008-2025"), opciones).render();
}
});
}
function checkVisibilityG008() {
const el = document.querySelector('.body-g008.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG008();
}
requestAnimationFrame(checkVisibilityG008);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG008);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Jugos
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g43 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g43 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g43 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g43 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g43 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g43 { gap: 10px; max-width: 300px; }
.marca-item_g43 { font-size: 11px; }
.color-circulo_g43 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g43 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g43 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g43 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g43 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g43 = window.innerWidth < 600;
const eventosGrafica_g43 = isMobile_g43 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g43',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g43(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g43() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g43');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g43');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g43, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g43');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g43[index % colores_g43.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g43';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g43').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g43,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g43() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g43');
if (el && isVisible_g43(el)) renderGrafica_g43();
requestAnimationFrame(checkVisibility_g43);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g43);
});
})();
.body-g0088 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0088 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0088 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0088 button:hover {
background-color: #e89a3b;
}
.botones-g0088 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0088 {
display: none;
}
.activa-g0088 {
display: block;
}
.logo-dinero-g0088 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0088 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0088 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0088 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0088 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0088 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0088 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación143
Confianza143
Base
TOM600
Innovación139
Confianza139
function mostrarGraficaG0088(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0088').forEach(el => el.classList.remove('activa-g0088'));
document.getElementById(id).classList.add('activa-g0088');
document.querySelectorAll('.botones-g0088 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0088() {
const chartOptionsG0088 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0088, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0088-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0088, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0088-2025"), opciones).render();
}
});
}
function checkVisibilityG0088() {
const el = document.querySelector('.body-g0088.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0088();
}
requestAnimationFrame(checkVisibilityG0088);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0088);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Té
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g44 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g44 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g44 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g44 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g44 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g44 { gap: 10px; max-width: 300px; }
.marca-item_g44 { font-size: 11px; }
.color-circulo_g44 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g44 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g44 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g44 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g44 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g44 = window.innerWidth < 600;
const eventosGrafica_g44 = isMobile_g44 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g44',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g44(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g44() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g44');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g44');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g44, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g44');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g44[index % colores_g44.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g44';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g44').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g44,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g44() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g44');
if (el && isVisible_g44(el)) renderGrafica_g44();
requestAnimationFrame(checkVisibility_g44);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g44);
});
})();
.body-g009 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g009 {
text-align: center;
margin-bottom: 20px;
}
.botones-g009 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g009 button:hover {
background-color: #e89a3b;
}
.botones-g009 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g009 {
display: none;
}
.activa-g009 {
display: block;
}
.logo-dinero-g009 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g009 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g009 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g009 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g009 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g009 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g009 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación101
Confianza101
Base
TOM600
Innovación82
Confianza82
function mostrarGraficaG009(id, boton) {
document.querySelectorAll('.contenedor-grafica-g009').forEach(el => el.classList.remove('activa-g009'));
document.getElementById(id).classList.add('activa-g009');
document.querySelectorAll('.botones-g009 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG009() {
const chartOptionsG009 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG009, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g009-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG009, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g009-2025"), opciones).render();
}
});
}
function checkVisibilityG009() {
const el = document.querySelector('.body-g009.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG009();
}
requestAnimationFrame(checkVisibilityG009);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG009);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Energizantes
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g45 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g45 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g45 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g45 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g45 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g45 { gap: 10px; max-width: 300px; }
.marca-item_g45 { font-size: 11px; }
.color-circulo_g45 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g45 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g45 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g45 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g45 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g45 = window.innerWidth < 600;
const eventosGrafica_g45 = isMobile_g45 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g45',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g45(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g45() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g45');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g45');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g45, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g45');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g45[index % colores_g45.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g45';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g45').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g45,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g45() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g45');
if (el && isVisible_g45(el)) renderGrafica_g45();
requestAnimationFrame(checkVisibility_g45);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g45);
});
})();
.body-g0010 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0010 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0010 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0010 button:hover {
background-color: #e89a3b;
}
.botones-g0010 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0010 {
display: none;
}
.activa-g0010 {
display: block;
}
.logo-dinero-g0010 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0010 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0010 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0010 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0010 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0010 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0010 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación114
Confianza114
Base
TOM600
Innovación141
Confianza141
function mostrarGraficaG0010(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0010').forEach(el => el.classList.remove('activa-g0010'));
document.getElementById(id).classList.add('activa-g0010');
document.querySelectorAll('.botones-g0010 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0010() {
const chartOptionsG0010 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0010, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0010-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0010, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0010-2025"), opciones).render();
}
});
}
function checkVisibilityG0010() {
const el = document.querySelector('.body-g0010.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0010();
}
requestAnimationFrame(checkVisibilityG0010);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0010);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Leche Líquida
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g46 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g46 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g46 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g46 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g46 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g46 { gap: 10px; max-width: 300px; }
.marca-item_g46 { font-size: 11px; }
.color-circulo_g46 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g46 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g46 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g46 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-aXsN3LaaRBu7poaKR-wG…;;
const colores_g46 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g46 = window.innerWidth < 600;
const eventosGrafica_g46 = isMobile_g46 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g46',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g46(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g46() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g46');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g46');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g46, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g46');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g46[index % colores_g46.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g46';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g46').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g46,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g46() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g46');
if (el && isVisible_g46(el)) renderGrafica_g46();
requestAnimationFrame(checkVisibility_g46);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g46);
});
})();
.body-g0011 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0011 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0011 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0011 button:hover {
background-color: #e89a3b;
}
.botones-g0011 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0011 {
display: none;
}
.activa-g0011 {
display: block;
}
.logo-dinero-g0011 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0011 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0011 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0011 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0011 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0011 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0011 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación154
Confianza154
Base
TOM600
Innovación134
Confianza134
function mostrarGraficaG0011(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0011').forEach(el => el.classList.remove('activa-g0011'));
document.getElementById(id).classList.add('activa-g0011');
document.querySelectorAll('.botones-g0011 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0011() {
const chartOptionsG0011 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0011, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0011-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vRo4gvc_guUBaLKpZzj6iBT…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0011, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0011-2025"), opciones).render();
}
});
}
function checkVisibilityG0011() {
const el = document.querySelector('.body-g0011.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0011();
}
requestAnimationFrame(checkVisibilityG0011);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0011);
});
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Aseo
Rompe récordsColgate sigue rompiendo récord en su categoría, esta vez logró una recordación del 89 por ciento, con un punto más frente al año pasado, que además la posiciona como la marca con el puntaje más alto en esta medición, desde 2021, entre todas las categorías, y además, se montó al podio de las más recordadas espontáneamente, en el tercer lugar, detrás de Diana y Coca-Cola. Entre las cremas dentales, deja muy atrás a sus seguidoras Fluocardent, con 4 por ciento, y Oral B, con 2 por ciento.En jabones de baño, Palmolive sigue dejando espuma en recordación: obtuvo 33 por ciento y un punto más frente a 2024. Le sigue Protex con 24 por ciento y Dove con 13 por ciento. Siguen subiendo las espumas, esta vez en la categoría de detergentes en polvo, en donde puntea el top of mind Fab con 45 por ciento de recordación, seguida por Ariel que gana 3 puntos y alcanza 33 por ciento. Los adultos a la hora de pensar en champús tienen más en mente a Head & Shoulders (H&S) que sigue liderando con 26 por ciento, un punto menos que el año pasado. Savital, con 18 por ciento pierde 2 puntos, seguida por Pantene que obtiene 17 por ciento, con un punto menos también frente a 2024.En papel higiénico los consultados tuvieron más presente a Familia con 55 por ciento, pese a que obtuvo 6 puntos menos frente a 2024, a diferencia de Scott que gana 4 puntos con 23 por ciento, en el segundo lugar, Elite se mantiene con 3 por ciento en una brecha en donde el ‘no recuerda’ gana espacio con 7 por ciento.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Cremas Dentales
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g47 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g47 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g47 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g47 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g47 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g47 { gap: 10px; max-width: 300px; }
.marca-item_g47 { font-size: 11px; }
.color-circulo_g47 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g47 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g47 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g47 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSpp7lbGwfvYk9ZLWC9Fejn…;;
const colores_g47 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g47 = window.innerWidth < 600;
const eventosGrafica_g47 = isMobile_g47 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g47',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g47(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g47() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g47');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g47');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g47, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g47');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g47[index % colores_g47.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g47';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g47').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g47,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g47() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g47');
if (el && isVisible_g47(el)) renderGrafica_g47();
requestAnimationFrame(checkVisibility_g47);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g47);
});
})();
.body-g0012 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0012 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0012 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0012 button:hover {
background-color: #e89a3b;
}
.botones-g0012 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0012 {
display: none;
}
.activa-g0012 {
display: block;
}
.logo-dinero-g0012 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0012 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0012 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0012 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0012 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0012 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0012 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación155
Confianza155
Base
TOM600
Innovación150
Confianza150
function mostrarGraficaG0012(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0012').forEach(el => el.classList.remove('activa-g0012'));
document.getElementById(id).classList.add('activa-g0012');
document.querySelectorAll('.botones-g0012 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0012() {
const chartOptionsG0012 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0012, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0012-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0012, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0012-2025"), opciones).render();
}
});
}
function checkVisibilityG0012() {
const el = document.querySelector('.body-g0012.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0012();
}
requestAnimationFrame(checkVisibilityG0012);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0012);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Jabones de Baño
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g48 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g48 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g48 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g48 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g48 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g48 { gap: 10px; max-width: 300px; }
.marca-item_g48 { font-size: 11px; }
.color-circulo_g48 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g48 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g48 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g48 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSpp7lbGwfvYk9ZLWC9Fejn…;;
const colores_g48 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g48 = window.innerWidth < 600;
const eventosGrafica_g48 = isMobile_g48 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g48',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g48(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g48() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g48');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g48');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g48, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g48');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g48[index % colores_g48.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g48';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g48').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g48,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g48() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g48');
if (el && isVisible_g48(el)) renderGrafica_g48();
requestAnimationFrame(checkVisibility_g48);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g48);
});
})();
.body-g0013 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0013 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0013 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0013 button:hover {
background-color: #e89a3b;
}
.botones-g0013 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0013 {
display: none;
}
.activa-g0013 {
display: block;
}
.logo-dinero-g0013 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0013 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0013 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0013 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0013 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0013 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0013 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación136
Confianza136
Base
TOM600
Innovación137
Confianza137
function mostrarGraficaG0013(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0013').forEach(el => el.classList.remove('activa-g0013'));
document.getElementById(id).classList.add('activa-g0013');
document.querySelectorAll('.botones-g0013 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0013() {
const chartOptionsG0013 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0013, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0013-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0013, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0013-2025"), opciones).render();
}
});
}
function checkVisibilityG0013() {
const el = document.querySelector('.body-g0013.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0013();
}
requestAnimationFrame(checkVisibilityG0013);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0013);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Detergentes en Polvo
.body-graf-g499 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g499 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g499 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g499 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g499 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g499 { padding: 0; }
canvas#grafica_g499 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g499 { gap: 10px; max-width: 300px; }
.marca-item_g499 { font-size: 11px; }
.color-circulo_g499 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g499 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g499 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g499 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSpp7lbGwfvYk9ZLWC9Fejn…;;
const colores_g499 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g499 = window.innerWidth < 600;
const eventosGrafica_g499 = isMobile_g499 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g499',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g499(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g499() {
const el = document.querySelector('.body-graf-g499.hidden-obj_g499');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g499');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g499, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g499');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g499[index % colores_g499.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g499';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g499').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g499,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g499() {
const el = document.querySelector('.body-graf-g499.hidden-obj_g499');
if (el && isVisible_g499(el)) renderGrafica_g499();
requestAnimationFrame(checkVisibility_g499);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g499);
});
})();
.body-g0014 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0014 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0014 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0014 button:hover {
background-color: #e89a3b;
}
.botones-g0014 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0014 {
display: none;
}
.activa-g0014 {
display: block;
}
.logo-dinero-g0014 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0014 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0014 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0014 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0014 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0014 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0014 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación132
Confianza132
Base
TOM600
Innovación154
Confianza154
function mostrarGraficaG0014(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0014').forEach(el => el.classList.remove('activa-g0014'));
document.getElementById(id).classList.add('activa-g0014');
document.querySelectorAll('.botones-g0014 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0014() {
const chartOptionsG0014 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0014, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0014-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0014, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0014-2025"), opciones).render();
}
});
}
function checkVisibilityG0014() {
const el = document.querySelector('.body-g0014.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0014();
}
requestAnimationFrame(checkVisibilityG0014);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0014);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Shampoo para el Cabello
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g50 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g50 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g50 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g50 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g50 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g50 { gap: 10px; max-width: 300px; }
.marca-item_g50 { font-size: 11px; }
.color-circulo_g50 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g50 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g50 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g50 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSpp7lbGwfvYk9ZLWC9Fejn…;;
const colores_g50 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g50 = window.innerWidth < 600;
const eventosGrafica_g50 = isMobile_g50 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g50',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g50(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g50() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g50');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g50');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g50, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g50');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g50[index % colores_g50.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g50';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g50').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g50,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g50() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g50');
if (el && isVisible_g50(el)) renderGrafica_g50();
requestAnimationFrame(checkVisibility_g50);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g50);
});
})();
.body-g0015 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0015 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0015 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0015 button:hover {
background-color: #e89a3b;
}
.botones-g0015 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0015 {
display: none;
}
.activa-g0015 {
display: block;
}
.logo-dinero-g0015 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0015 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0015 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0015 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0015 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0015 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0015 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación146
Confianza146
Base
TOM600
Innovación135
Confianza135
function mostrarGraficaG0015(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0015').forEach(el => el.classList.remove('activa-g0015'));
document.getElementById(id).classList.add('activa-g0015');
document.querySelectorAll('.botones-g0015 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0015() {
const chartOptionsG0015 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0015, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0015-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0015, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0015-2025"), opciones).render();
}
});
}
function checkVisibilityG0015() {
const el = document.querySelector('.body-g0015.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0015();
}
requestAnimationFrame(checkVisibilityG0015);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0015);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Papel Higiénico
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g51 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g51 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g51 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g51 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g51 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g51 { gap: 10px; max-width: 300px; }
.marca-item_g51 { font-size: 11px; }
.color-circulo_g51 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g51 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g51 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g51 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSpp7lbGwfvYk9ZLWC9Fejn…;;
const colores_g51 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g51 = window.innerWidth < 600;
const eventosGrafica_g51 = isMobile_g51 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g51',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g51(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g51() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g51');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g51');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g51, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g51');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g51[index % colores_g51.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g51';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g51').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g51,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g51() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g51');
if (el && isVisible_g51(el)) renderGrafica_g51();
requestAnimationFrame(checkVisibility_g51);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g51);
});
})();
.body-g0016 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0016 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0016 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0016 button:hover {
background-color: #e89a3b;
}
.botones-g0016 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0016 {
display: none;
}
.activa-g0016 {
display: block;
}
.logo-dinero-g0016 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0016 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0016 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0016 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0016 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0016 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0016 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación144
Confianza144
Base
TOM600
Innovación144
Confianza144
function mostrarGraficaG0016(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0016').forEach(el => el.classList.remove('activa-g0016'));
document.getElementById(id).classList.add('activa-g0016');
document.querySelectorAll('.botones-g0016 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0016() {
const chartOptionsG0016 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0016, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0016-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTdnkHPbuhBW4fvdibciJTe…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0016, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0016-2025"), opciones).render();
}
});
}
function checkVisibilityG0016() {
const el = document.querySelector('.body-g0016.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0016();
}
requestAnimationFrame(checkVisibilityG0016);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0016);
});
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Otras Categorías de Consumo Masivo
Dulce recuerdoEn la categoría de chocolatinas, Jet sigue volando, y aunque solo subió un punto frente al año pasado al alcanzar 81 por ciento, esta puntuación la ubica entre las tres más altas de toda la medición al comparar los resultados en las diferentes categorías, de este año, después de Colgate (89 por ciento) y al lado de Avianca (81 por ciento). Entre las margarinas es La Fina, la inolvidable, al alcanzar 37 por ciento, Rama gana 3 puntos y alcanza 17 por ciento, y Campi logra dos puntos más y llega a 8 por ciento.Que le pongan salsa…y en esta categoría Fruco es la reina del top of mind con 75 por ciento de recordación, seguida por Bary, con 7 por ciento y San Jorge con 3 por ciento. En arroces Diana logró este año, el primer puesto entre las diez marcas más recordadas espontáneamente, en la que no media ninguna categoría, desplazando a Coca-Cola que venía liderando en toda la medición. Además, fue número uno en la categoría de arroz, con 53 por ciento, seguida por Roa, con 24 por ciento, y Flor Huila, con 11 por ciento.En pastas, Doria es la que sigue dando de qué pensar, logró 52 por ciento en recordación, seguida por La Muñeca, con 32 por ciento. A la hora de merendar, es Saltin Noel la más recordada con 26 por ciento, seguida por Ducales con 17 por ciento.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Margarinas
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g52 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g52 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g52 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g52 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g52 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g52 { gap: 10px; max-width: 300px; }
.marca-item_g52 { font-size: 11px; }
.color-circulo_g52 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g52 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g52 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g52 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSiE8a7VSdeUHxJorqDanwu…;;
const colores_g52 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g52 = window.innerWidth < 600;
const eventosGrafica_g52 = isMobile_g52 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g52',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g52(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g52() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g52');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g52');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g52, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g52');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g52[index % colores_g52.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g52';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g52').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g52,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g52() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g52');
if (el && isVisible_g52(el)) renderGrafica_g52();
requestAnimationFrame(checkVisibility_g52);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g52);
});
})();
.body-g0017 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0017 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0017 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0017 button:hover {
background-color: #e89a3b;
}
.botones-g0017 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0017 {
display: none;
}
.activa-g0017 {
display: block;
}
.logo-dinero-g0017 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0017 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0017 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0017 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0017 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0017 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0017 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación104
Confianza104
Base
TOM600
Innovación109
Confianza109
function mostrarGraficaG0017(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0017').forEach(el => el.classList.remove('activa-g0017'));
document.getElementById(id).classList.add('activa-g0017');
document.querySelectorAll('.botones-g0017 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0017() {
const chartOptionsG0017 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0017, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0017-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0017, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0017-2025"), opciones).render();
}
});
}
function checkVisibilityG0017() {
const el = document.querySelector('.body-g0017.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0017();
}
requestAnimationFrame(checkVisibilityG0017);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0017);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Salsas de Tomate
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g53 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g53 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g53 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g53 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g53 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g53 { gap: 10px; max-width: 300px; }
.marca-item_g53 { font-size: 11px; }
.color-circulo_g53 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g53 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g53 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g53 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSiE8a7VSdeUHxJorqDanwu…;;
const colores_g53 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g53 = window.innerWidth < 600;
const eventosGrafica_g53 = isMobile_g53 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g53',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g53(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g53() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g53');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g53');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g53, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g53');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g53[index % colores_g53.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g53';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g53').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g53,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g53() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g53');
if (el && isVisible_g53(el)) renderGrafica_g53();
requestAnimationFrame(checkVisibility_g53);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g53);
});
})();
.body-g0018 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0018 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0018 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0018 button:hover {
background-color: #e89a3b;
}
.botones-g0018 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0018 {
display: none;
}
.activa-g0018 {
display: block;
}
.logo-dinero-g0018 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0018 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0018 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0018 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0018 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0018 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0018 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación138
Confianza138
Base
TOM600
Innovación159
Confianza159
function mostrarGraficaG0018(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0018').forEach(el => el.classList.remove('activa-g0018'));
document.getElementById(id).classList.add('activa-g0018');
document.querySelectorAll('.botones-g0018 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0018() {
const chartOptionsG0018 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0018, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0018-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0018, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0018-2025"), opciones).render();
}
});
}
function checkVisibilityG0018() {
const el = document.querySelector('.body-g0018.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0018();
}
requestAnimationFrame(checkVisibilityG0018);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0018);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Chocolatinas
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g54 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g54 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g54 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g54 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g54 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g54 { gap: 10px; max-width: 300px; }
.marca-item_g54 { font-size: 11px; }
.color-circulo_g54 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g54 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g54 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g54 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSiE8a7VSdeUHxJorqDanwu…;;
const colores_g54 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g54 = window.innerWidth < 600;
const eventosGrafica_g54 = isMobile_g54 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g54',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g54(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g54() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g54');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g54');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g54, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g54');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g54[index % colores_g54.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g54';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g54').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g54,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g54() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g54');
if (el && isVisible_g54(el)) renderGrafica_g54();
requestAnimationFrame(checkVisibility_g54);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g54);
});
})();
.body-g0019 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0019 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0019 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0019 button:hover {
background-color: #e89a3b;
}
.botones-g0019 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0019 {
display: none;
}
.activa-g0019 {
display: block;
}
.logo-dinero-g0019 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0019 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0019 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0019 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0019 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0019 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0019 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación150
Confianza150
Base
TOM600
Innovación136
Confianza136
function mostrarGraficaG0019(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0019').forEach(el => el.classList.remove('activa-g0019'));
document.getElementById(id).classList.add('activa-g0019');
document.querySelectorAll('.botones-g0019 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0019() {
const chartOptionsG0019 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0019, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0019-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0019, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0019-2025"), opciones).render();
}
});
}
function checkVisibilityG0019() {
const el = document.querySelector('.body-g0019.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0019();
}
requestAnimationFrame(checkVisibilityG0019);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0019);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Arroz
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g55 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g55 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g55 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g55 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g55 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g55 { gap: 10px; max-width: 300px; }
.marca-item_g55 { font-size: 11px; }
.color-circulo_g55 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g55 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g55 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g55 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSiE8a7VSdeUHxJorqDanwu…;;
const colores_g55 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g55 = window.innerWidth < 600;
const eventosGrafica_g55 = isMobile_g55 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g55',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g55(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g55() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g55');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g55');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g55, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g55');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g55[index % colores_g55.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g55';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g55').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g55,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g55() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g55');
if (el && isVisible_g55(el)) renderGrafica_g55();
requestAnimationFrame(checkVisibility_g55);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g55);
});
})();
.body-g0020 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0020 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0020 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0020 button:hover {
background-color: #e89a3b;
}
.botones-g0020 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0020 {
display: none;
}
.activa-g0020 {
display: block;
}
.logo-dinero-g0020 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0020 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0020 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0020 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0020 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0020 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0020 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM588
Innovación154
Confianza154
Base
TOM600
Innovación150
Confianza150
function mostrarGraficaG0020(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0020').forEach(el => el.classList.remove('activa-g0020'));
document.getElementById(id).classList.add('activa-g0020');
document.querySelectorAll('.botones-g0020 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0020() {
const chartOptionsG0020 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0020, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0020-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0020, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0020-2025"), opciones).render();
}
});
}
function checkVisibilityG0020() {
const el = document.querySelector('.body-g0020.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0020();
}
requestAnimationFrame(checkVisibilityG0020);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0020);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Pastas Alimenticias
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g56 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g56 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g56 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g56 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g56 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g56 { gap: 10px; max-width: 300px; }
.marca-item_g56 { font-size: 11px; }
.color-circulo_g56 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g56 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g56 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g56 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSiE8a7VSdeUHxJorqDanwu…;;
const colores_g56 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g56 = window.innerWidth < 600;
const eventosGrafica_g56 = isMobile_g56 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g56',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g56(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g56() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g56');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g56');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g56, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g56');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g56[index % colores_g56.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g56';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g56').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g56,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g56() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g56');
if (el && isVisible_g56(el)) renderGrafica_g56();
requestAnimationFrame(checkVisibility_g56);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g56);
});
})();
.body-g0021 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0021 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0021 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0021 button:hover {
background-color: #e89a3b;
}
.botones-g0021 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0021 {
display: none;
}
.activa-g0021 {
display: block;
}
.logo-dinero-g0021 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0021 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0021 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0021 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0021 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0021 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0021 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación128
Confianza128
Base
TOM600
Innovación132
Confianza132
function mostrarGraficaG0021(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0021').forEach(el => el.classList.remove('activa-g0021'));
document.getElementById(id).classList.add('activa-g0021');
document.querySelectorAll('.botones-g0021 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0021() {
const chartOptionsG0021 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0021, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0021-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0021, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0021-2025"), opciones).render();
}
});
}
function checkVisibilityG0021() {
const el = document.querySelector('.body-g0021.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0021();
}
requestAnimationFrame(checkVisibilityG0021);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0021);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Galletas
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g57 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g57 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g57 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g57 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g57 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g57 { gap: 10px; max-width: 300px; }
.marca-item_g57 { font-size: 11px; }
.color-circulo_g57 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g57 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g57 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g57 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSiE8a7VSdeUHxJorqDanwu…;;
const colores_g57 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g57 = window.innerWidth < 600;
const eventosGrafica_g57 = isMobile_g57 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g57',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g57(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g57() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g57');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g57');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g57, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g57');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g57[index % colores_g57.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g57';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g57').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g57,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g57() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g57');
if (el && isVisible_g57(el)) renderGrafica_g57();
requestAnimationFrame(checkVisibility_g57);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g57);
});
})();
.body-g0022 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0022 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0022 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0022 button:hover {
background-color: #e89a3b;
}
.botones-g0022 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0022 {
display: none;
}
.activa-g0022 {
display: block;
}
.logo-dinero-g0022 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0022 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0022 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0022 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0022 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0022 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0022 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación137
Confianza137
Base
TOM600
Innovación161
Confianza161
function mostrarGraficaG0022(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0022').forEach(el => el.classList.remove('activa-g0022'));
document.getElementById(id).classList.add('activa-g0022');
document.querySelectorAll('.botones-g0022 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0022() {
const chartOptionsG0022 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0022, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0022-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ-58XYWCvgBkLYSTMl-YIY…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0022, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0022-2025"), opciones).render();
}
});
}
function checkVisibilityG0022() {
const el = document.querySelector('.body-g0022.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0022();
}
requestAnimationFrame(checkVisibilityG0022);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0022);
});
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Tecnología
Pantalla a pantallaCuando los consultados piensan en computadores la primera marca que se les viene a la cabeza es Hewlett Packard (HP) que continúa liderando en el top of mind aunque pierde 2 puntos frente a 2024. Esta vez, su nivel de recordación alcanzó 31 por ciento, seguido por Lenovo con 16 por ciento, que también perdió un punto, Apple, en esta medición, bajó un punto con 9 por ciento, y el ‘no recuerda’ cayó 3 puntos al alcanzar 11 por ciento.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Computadores
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g58 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g58 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g58 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g58 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g58 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g58 { gap: 10px; max-width: 300px; }
.marca-item_g58 { font-size: 11px; }
.color-circulo_g58 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g58 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g58 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g58 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcKlIsdcWo9U009GIcxC2y…;;
const colores_g58 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g58 = window.innerWidth < 600;
const eventosGrafica_g58 = isMobile_g58 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g58',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g58(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g58() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g58');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g58');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g58, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g58');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g58[index % colores_g58.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g58';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g58').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g58,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g58() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g58');
if (el && isVisible_g58(el)) renderGrafica_g58();
requestAnimationFrame(checkVisibility_g58);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g58);
});
})();
.body-g0023 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0023 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0023 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0023 button:hover {
background-color: #e89a3b;
}
.botones-g0023 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0023 {
display: none;
}
.activa-g0023 {
display: block;
}
.logo-dinero-g0023 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0023 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0023 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0023 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0023 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0023 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0023 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación136
Confianza136
Base
TOM600
Innovación133
Confianza133
function mostrarGraficaG0023(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0023').forEach(el => el.classList.remove('activa-g0023'));
document.getElementById(id).classList.add('activa-g0023');
document.querySelectorAll('.botones-g0023 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0023() {
const chartOptionsG0023 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ9xB9eEYD24dF84BRdJk26…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0023, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0023-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQ9xB9eEYD24dF84BRdJk26…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0023, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0023-2025"), opciones).render();
}
});
}
function checkVisibilityG0023() {
const el = document.querySelector('.body-g0023.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0023();
}
requestAnimationFrame(checkVisibilityG0023);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0023);
});
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Comunicaciones
El aló jalóEn telefonía celular, Claro sigue a la cabeza en el top of mind con 54 por ciento, seguida por Movistar que alcanzó 22 por ciento. Tigo llega a 15 por ciento y Wom a 4 por ciento.En telecomunicaciones, que se refiere a servicios de telefonía fija, televisión e internet, Telmex/Claro obtiene 39 por ciento en la medición, y aunque se mantiene en el top of mind registra una caída de 8 puntos frente a 2024, caso contrario a Movistar que gana 6 puntos al llegar a 22 por ciento.Y entre los teléfonos celulares Samsung, es el líder en el top of mind con 43 por ciento. Le sigue iPhone/Apple con 16 por ciento, Motorola también llega al tercer lugar con 13 por ciento, Huawei se mantiene en 5 por ciento y es Xiaomi la única marca que crece esta vez con dos puntos.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Telefonía Celular
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g59 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g59 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g59 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g59 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g59 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g59 { gap: 10px; max-width: 300px; }
.marca-item_g59 { font-size: 11px; }
.color-circulo_g59 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g59 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g59 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g59 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vRj3-ziLc0Cat_MJQM5-TuK…;;
const colores_g59 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g59 = window.innerWidth < 600;
const eventosGrafica_g59 = isMobile_g59 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g59',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g59(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g59() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g59');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g59');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g59, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g59');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g59[index % colores_g59.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g59';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g59').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g59,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g59() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g59');
if (el && isVisible_g59(el)) renderGrafica_g59();
requestAnimationFrame(checkVisibility_g59);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g59);
});
})();
.body-g0024 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0024 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0024 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0024 button:hover {
background-color: #e89a3b;
}
.botones-g0024 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0024 {
display: none;
}
.activa-g0024 {
display: block;
}
.logo-dinero-g0024 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0024 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0024 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0024 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0024 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0024 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0024 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación141
Confianza141
Base
TOM600
Innovación149
Confianza149
function mostrarGraficaG0024(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0024').forEach(el => el.classList.remove('activa-g0024'));
document.getElementById(id).classList.add('activa-g0024');
document.querySelectorAll('.botones-g0024 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0024() {
const chartOptionsG0024 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQRfclKTWAiooBHf0OHBRwJ…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0024, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0024-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQRfclKTWAiooBHf0OHBRwJ…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0024, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0024-2025"), opciones).render();
}
});
}
function checkVisibilityG0024() {
const el = document.querySelector('.body-g0024.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0024();
}
requestAnimationFrame(checkVisibilityG0024);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0024);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Telecomunicaciones
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g60 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g60 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g60 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g60 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g60 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g60 { gap: 10px; max-width: 300px; }
.marca-item_g60 { font-size: 11px; }
.color-circulo_g60 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g60 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g60 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g60 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vRj3-ziLc0Cat_MJQM5-TuK…;;
const colores_g60 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g60 = window.innerWidth < 600;
const eventosGrafica_g60 = isMobile_g60 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g60',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g60(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g60() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g60');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g60');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g60, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g60');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g60[index % colores_g60.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g60';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g60').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g60,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g60() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g60');
if (el && isVisible_g60(el)) renderGrafica_g60();
requestAnimationFrame(checkVisibility_g60);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g60);
});
})();
.body-g0025 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0025 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0025 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0025 button:hover {
background-color: #e89a3b;
}
.botones-g0025 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0025 {
display: none;
}
.activa-g0025 {
display: block;
}
.logo-dinero-g0025 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0025 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0025 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0025 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0025 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0025 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0025 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación133
Confianza133
Base
TOM600
Innovación130
Confianza130
function mostrarGraficaG0025(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0025').forEach(el => el.classList.remove('activa-g0025'));
document.getElementById(id).classList.add('activa-g0025');
document.querySelectorAll('.botones-g0025 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0025() {
const chartOptionsG0025 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQRfclKTWAiooBHf0OHBRwJ…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0025, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0025-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQRfclKTWAiooBHf0OHBRwJ…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0025, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0025-2025"), opciones).render();
}
});
}
function checkVisibilityG0025() {
const el = document.querySelector('.body-g0025.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0025();
}
requestAnimationFrame(checkVisibilityG0025);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0025);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Teléfono Celular
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g61 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g61 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g61 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g61 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g61 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g61 { gap: 10px; max-width: 300px; }
.marca-item_g61 { font-size: 11px; }
.color-circulo_g61 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g61 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g61 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g61 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vRj3-ziLc0Cat_MJQM5-TuK…;;
const colores_g61 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g61 = window.innerWidth < 600;
const eventosGrafica_g61 = isMobile_g61 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g61',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g61(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g61() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g61');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g61');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g61, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g61');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g61[index % colores_g61.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g61';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g61').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g61,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g61() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g61');
if (el && isVisible_g61(el)) renderGrafica_g61();
requestAnimationFrame(checkVisibility_g61);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g61);
});
})();
.body-g0026 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0026 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0026 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0026 button:hover {
background-color: #e89a3b;
}
.botones-g0026 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0026 {
display: none;
}
.activa-g0026 {
display: block;
}
.logo-dinero-g0026 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0026 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0026 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0026 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0026 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0026 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0026 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación150
Confianza150
Base
TOM600
Innovación164
Confianza164
function mostrarGraficaG0026(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0026').forEach(el => el.classList.remove('activa-g0026'));
document.getElementById(id).classList.add('activa-g0026');
document.querySelectorAll('.botones-g0026 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0026() {
const chartOptionsG0026 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQRfclKTWAiooBHf0OHBRwJ…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0026, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0026-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQRfclKTWAiooBHf0OHBRwJ…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0026, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0026-2025"), opciones).render();
}
});
}
function checkVisibilityG0026() {
const el = document.querySelector('.body-g0026.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0026();
}
requestAnimationFrame(checkVisibilityG0026);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0026);
});
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Sector Financiero
Cuidando el bolsilloEntre los bancos tradicionales, su nivel de recordación se mantiene, aunque entre los dos líderes Bancolombia y Banco de Bogotá se dan movidas interesantes, mientras el primero pierde 4 puntos en recordación, el segundo gana 5 puntos porcentuales.En tarjetas de crédito, Visa se destaca este año al ganarle el primer puesto a Mastercard y Bancolombia. En compañía de seguros los encuestados no la tienen clara, y gana el ‘no recuerda’ con 5 puntos más frente a 2024. A pesar de ello, Seguros Bolívar registró 20 por ciento.Y entre los fondos de pensiones, Colpensiones permanece en la mente de los consultados con 38 por ciento. Le sigue Porvenir, con 26 por ciento, y Protección empata con el ‘no recuerda’ que obtienen esta vez 11 por ciento.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Bancos
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g62 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g62 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g62 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g62 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g62 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g62 { gap: 10px; max-width: 300px; }
.marca-item_g62 { font-size: 11px; }
.color-circulo_g62 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g62 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g62 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g62 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ0ySDjvAMkH9vrHSOklpo_…;;
const colores_g62 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g62 = window.innerWidth < 600;
const eventosGrafica_g62 = isMobile_g62 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g62',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g62(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g62() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g62');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g62');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g62, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g62');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g62[index % colores_g62.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g62';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g62').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g62,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g62() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g62');
if (el && isVisible_g62(el)) renderGrafica_g62();
requestAnimationFrame(checkVisibility_g62);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g62);
});
})();
.body-g0027 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0027 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0027 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0027 button:hover {
background-color: #e89a3b;
}
.botones-g0027 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0027 {
display: none;
}
.activa-g0027 {
display: block;
}
.logo-dinero-g0027 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0027 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0027 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0027 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0027 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0027 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0027 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación442
Confianza440
Base
TOM600
Innovación139
Confianza139
function mostrarGraficaG0027(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0027').forEach(el => el.classList.remove('activa-g0027'));
document.getElementById(id).classList.add('activa-g0027');
document.querySelectorAll('.botones-g0027 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0027() {
const chartOptionsG0027 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0027, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0027-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0027, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0027-2025"), opciones).render();
}
});
}
function checkVisibilityG0027() {
const el = document.querySelector('.body-g0027.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0027();
}
requestAnimationFrame(checkVisibilityG0027);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0027);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Tarjetas de Crédito
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g63 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g63 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g63 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g63 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g63 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g63 { gap: 10px; max-width: 300px; }
.marca-item_g63 { font-size: 11px; }
.color-circulo_g63 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g63 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g63 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g63 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ0ySDjvAMkH9vrHSOklpo_…;;
const colores_g63 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g63 = window.innerWidth < 600;
const eventosGrafica_g63 = isMobile_g63 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g63',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g63(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g63() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g63');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g63');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g63, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g63');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g63[index % colores_g63.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g63';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g63').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g63,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g63() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g63');
if (el && isVisible_g63(el)) renderGrafica_g63();
requestAnimationFrame(checkVisibility_g63);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g63);
});
})();
.body-g0028 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0028 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0028 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0028 button:hover {
background-color: #e89a3b;
}
.botones-g0028 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0028 {
display: none;
}
.activa-g0028 {
display: block;
}
.logo-dinero-g0028 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0028 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0028 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0028 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0028 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0028 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0028 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación118
Confianza118
Base
TOM600
Innovación112
Confianza112
function mostrarGraficaG0028(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0028').forEach(el => el.classList.remove('activa-g0028'));
document.getElementById(id).classList.add('activa-g0028');
document.querySelectorAll('.botones-g0028 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0028() {
const chartOptionsG0028 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0028, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0028-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0028, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0028-2025"), opciones).render();
}
});
}
function checkVisibilityG0028() {
const el = document.querySelector('.body-g0028.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0028();
}
requestAnimationFrame(checkVisibilityG0028);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0028);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Compañías de Seguros
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g64 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g64 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g64 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g64 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g64 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g64 { gap: 10px; max-width: 300px; }
.marca-item_g64 { font-size: 11px; }
.color-circulo_g64 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g64 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g64 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g64 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ0ySDjvAMkH9vrHSOklpo_…;;
const colores_g64 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g64 = window.innerWidth < 600;
const eventosGrafica_g64 = isMobile_g64 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g64',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g64(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g64() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g64');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g64');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g64, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g64');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g64[index % colores_g64.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g64';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g64').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g64,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g64() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g64');
if (el && isVisible_g64(el)) renderGrafica_g64();
requestAnimationFrame(checkVisibility_g64);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g64);
});
})();
.body-g0029 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0029 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0029 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0029 button:hover {
background-color: #e89a3b;
}
.botones-g0029 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0029 {
display: none;
}
.activa-g0029 {
display: block;
}
.logo-dinero-g0029 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0029 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0029 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0029 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0029 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0029 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0029 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación118
Confianza118
Base
TOM600
Innovación104
Confianza104
function mostrarGraficaG0029(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0029').forEach(el => el.classList.remove('activa-g0029'));
document.getElementById(id).classList.add('activa-g0029');
document.querySelectorAll('.botones-g0029 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0029() {
const chartOptionsG0029 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0029, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0029-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0029, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0029-2025"), opciones).render();
}
});
}
function checkVisibilityG0029() {
const el = document.querySelector('.body-g0029.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0029();
}
requestAnimationFrame(checkVisibilityG0029);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0029);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Fondos de Pensiones
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g65 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g65 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g65 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g65 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g65 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g65 { gap: 10px; max-width: 300px; }
.marca-item_g65 { font-size: 11px; }
.color-circulo_g65 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g65 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g65 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g65 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ0ySDjvAMkH9vrHSOklpo_…;;
const colores_g65 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g65 = window.innerWidth < 600;
const eventosGrafica_g65 = isMobile_g65 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g65',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g65(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g65() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g65');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g65');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g65, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g65');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g65[index % colores_g65.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g65';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g65').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g65,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g65() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g65');
if (el && isVisible_g65(el)) renderGrafica_g65();
requestAnimationFrame(checkVisibility_g65);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g65);
});
})();
.body-g0030 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0030 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0030 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0030 button:hover {
background-color: #e89a3b;
}
.botones-g0030 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0030 {
display: none;
}
.activa-g0030 {
display: block;
}
.logo-dinero-g0030 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0030 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0030 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0030 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0030 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0030 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0030 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación118
Confianza118
Base
TOM600
Innovación144
Confianza144
function mostrarGraficaG0030(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0030').forEach(el => el.classList.remove('activa-g0030'));
document.getElementById(id).classList.add('activa-g0030');
document.querySelectorAll('.botones-g0030 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0030() {
const chartOptionsG0030 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0030, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0030-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0030, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0030-2025"), opciones).render();
}
});
}
function checkVisibilityG0030() {
const el = document.querySelector('.body-g0030.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0030();
}
requestAnimationFrame(checkVisibilityG0030);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0030);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Neo Bancos, Bancos Digitales o Billeteras Digitales TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs0202 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs0202 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs0202 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs0202 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs0202 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs0202 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs0202 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs0202 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;;
function isVisible_bs0202(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs0202() {
const el = document.querySelector('.grafica-marcas-body_bs0202.hidden-obj_bs0202');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs0202');
el.dataset.rendered = "true";
Papa.parse(url_bs0202, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs0202"), opciones);
chart.render();
}
});
}
function checkVisibility_bs0202() {
const el = document.querySelector('.grafica-marcas-body_bs0202.hidden-obj_bs0202');
if (el && isVisible_bs0202(el)) renderGrafica_bs0202();
requestAnimationFrame(checkVisibility_bs0202);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs0202);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Neo Bancos, Bancos Digitales o Billeteras Digitales 2025
Gráfica bu04
.grafica-marcas-body_bu044o {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bu044o {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bu044o {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bu044o {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bu044o {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bu044o {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bu044o {
opacity: 1;
top: 0;
}
Base
TOM
600
Innovación
104
Confianza
104
(function () {
const url_bu044o = "https://docs.google.com/spreadsheets/d/e/2PACX-1vTMZLjTvX91h9E68GLAJzc4…;;
function isVisible_bu044o(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bu044o() {
const el = document.querySelector('.grafica-marcas-body_bu044o.hidden-obj_bu044o');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bu044o');
el.dataset.rendered = "true";
Papa.parse(url_bu044o, {
download: true,
header: true,
complete: function(result) {
const data_bu044o = result.data.filter(r => r["Marcasb"]);
const columnas_bu044o = Object.keys(result.data[0]).filter(k => k !== "Marcasb");
const categorias_bu044o = data_bu044o.map(r => (r["Marcasb"] || "").trim());
const series_bu044o = columnas_bu044o.map(col => ({
name: col,
data: data_bu044o.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones_bu044o = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series_bu044o,
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias_bu044o,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart_bu044o = new ApexCharts(document.querySelector("#grafica-container_bu044o"), opciones_bu044o);
chart_bu044o.render();
}
});
}
function checkVisibility_bu044o() {
const el = document.querySelector('.grafica-marcas-body_bu044o.hidden-obj_bu044o');
if (el && isVisible_bu044o(el)) renderGrafica_bu044o();
requestAnimationFrame(checkVisibility_bu044o);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bu044o);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Otras Categorías
Mente velozEntre ruedas, el top of mind quedó así: en automóviles, Chevrolet ganó puntos y esta vez alcanzó 27 por ciento, seguido por Mazda con 16 por ciento. En motos, mandan la parada Yamaha con 21 por ciento y Suzuki con 19 por ciento, y en aerolíneas, la que vuela más alto es Avianca con 81 por ciento.A la hora del shopping, entre supermercados, se piensa más en Éxito, que alcanza un nivel de recordación de 33 por ciento, pero se destaca la trepada de D1 con 5 puntos más alcanzar 15 por ciento. Y entre las marcas de relojes, la que sobresale Cassio con 33 por ciento.En comidas rápidas, McDonald’s es la líder del top of mind en su categoría, en universidades es la Nacional la más recordada, en EPS Sura le ganó el puesto a Sanitas. Entre los centros comerciales más recordados prima Unicentro, mientras Servientrega es la inolvidable en empresas de mensajería.Entre fabricantes de electrodomésticos, Haceb gana en recordación, y entre los fabricantes de televisores Samsung lidera la medición. En marcas de cemento la más recordada es Argos, en Apps para pedir domicilios y mercado, Rappi es número uno en recordación, en plataformas de pago digital la que manda es Nequi, y entre las plataformas de streaming video, Netflix se lleva los recuerdos En comidas para mascotas no la tienen clara los encuestados. Sin embargo, entre las que sí recuerda aparece Dog Chow. En plataformas de compra por internet lidera Mercado Libre; entre los neobancos, bancos digitales o billeteras digitales es Nequi la más recordada. En cajas de compensación la que se destaca es Compensar; en estaciones de gasolina gana Terpel; en operadores de apuestas gana el ‘no recuerda’ y en segundo lugar aparece Betplay, y en medicina prepagada, también gana el ‘no recuerda’, seguido por Colsanitas.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Automóviles
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g67 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g67 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g67 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g67 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g67 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g67 { gap: 10px; max-width: 300px; }
.marca-item_g67 { font-size: 11px; }
.color-circulo_g67 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g67 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g67 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g67 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g67 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g67 = window.innerWidth < 600;
const eventosGrafica_g67 = isMobile_g67 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g67',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g67(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g67() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g67');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g67');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g67, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g67');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g67[index % colores_g67.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g67';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g67').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g67,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g67() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g67');
if (el && isVisible_g67(el)) renderGrafica_g67();
requestAnimationFrame(checkVisibility_g67);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g67);
});
})();
.body-g0031 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0031 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0031 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0031 button:hover {
background-color: #e89a3b;
}
.botones-g0031 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0031 {
display: none;
}
.activa-g0031 {
display: block;
}
.logo-dinero-g0031 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0031 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0031 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0031 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0031 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0031 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0031 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación135
Confianza136
Base
TOM600
Innovación135
Confianza135
function mostrarGraficaG0031(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0031').forEach(el => el.classList.remove('activa-g0031'));
document.getElementById(id).classList.add('activa-g0031');
document.querySelectorAll('.botones-g0031 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0031() {
const chartOptionsG0031 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0031, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0031-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0031, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0031-2025"), opciones).render();
}
});
}
function checkVisibilityG0031() {
const el = document.querySelector('.body-g0031.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0031();
}
requestAnimationFrame(checkVisibilityG0031);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0031);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Motos
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g68 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g68 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g68 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g68 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g68 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g68 { gap: 10px; max-width: 300px; }
.marca-item_g68 { font-size: 11px; }
.color-circulo_g68 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g68 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g68 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g68 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g68 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g68 = window.innerWidth < 600;
const eventosGrafica_g68 = isMobile_g68 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g68',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g68(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g68() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g68');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g68');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g68, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g68');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g68[index % colores_g68.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g68';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g68').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g68,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g68() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g68');
if (el && isVisible_g68(el)) renderGrafica_g68();
requestAnimationFrame(checkVisibility_g68);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g68);
});
})();
.body-g0032 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0032 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0032 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0032 button:hover {
background-color: #e89a3b;
}
.botones-g0032 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0032 {
display: none;
}
.activa-g0032 {
display: block;
}
.logo-dinero-g0032 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0032 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0032 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0032 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0032 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0032 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0032 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación135
Confianza136
Base
TOM600
Innovación136
Confianza136
function mostrarGraficaG0032(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0032').forEach(el => el.classList.remove('activa-g0032'));
document.getElementById(id).classList.add('activa-g0032');
document.querySelectorAll('.botones-g0032 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0032() {
const chartOptionsG0032 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0032, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0032-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0032, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0032-2025"), opciones).render();
}
});
}
function checkVisibilityG0032() {
const el = document.querySelector('.body-g0032.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0032();
}
requestAnimationFrame(checkVisibilityG0032);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0032);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Aerolínea
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g69 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g69 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g69 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g69 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g69 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g69 { gap: 10px; max-width: 300px; }
.marca-item_g69 { font-size: 11px; }
.color-circulo_g69 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g69 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g69 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g69 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g69 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g69 = window.innerWidth < 600;
const eventosGrafica_g69 = isMobile_g69 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g69',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g69(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g69() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g69');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g69');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g69, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g69');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g69[index % colores_g69.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g69';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g69').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g69,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g69() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g69');
if (el && isVisible_g69(el)) renderGrafica_g69();
requestAnimationFrame(checkVisibility_g69);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g69);
});
})();
.body-g0033 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0033 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0033 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0033 button:hover {
background-color: #e89a3b;
}
.botones-g0033 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0033 {
display: none;
}
.activa-g0033 {
display: block;
}
.logo-dinero-g0033 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0033 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0033 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0033 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0033 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0033 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0033 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación134
Confianza134
Base
TOM600
Innovación134
Confianza134
function mostrarGraficaG0033(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0033').forEach(el => el.classList.remove('activa-g0033'));
document.getElementById(id).classList.add('activa-g0033');
document.querySelectorAll('.botones-g0033 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0033() {
const chartOptionsG0033 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0033, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0033-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0033, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0033-2025"), opciones).render();
}
});
}
function checkVisibilityG0033() {
const el = document.querySelector('.body-g0033.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0033();
}
requestAnimationFrame(checkVisibilityG0033);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0033);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Supermercados
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g70 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g70 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g70 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g70 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g70 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g70 { gap: 10px; max-width: 300px; }
.marca-item_g70 { font-size: 11px; }
.color-circulo_g70 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g70 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g70 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g70 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g70 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g70 = window.innerWidth < 600;
const eventosGrafica_g70 = isMobile_g70 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g70',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g70(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g70() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g70');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g70');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g70, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g70');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g70[index % colores_g70.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g70';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g70').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g70,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g70() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g70');
if (el && isVisible_g70(el)) renderGrafica_g70();
requestAnimationFrame(checkVisibility_g70);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g70);
});
})();
.body-g0034 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0034 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0034 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0034 button:hover {
background-color: #e89a3b;
}
.botones-g0034 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0034 {
display: none;
}
.activa-g0034 {
display: block;
}
.logo-dinero-g0034 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0034 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0034 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0034 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0034 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0034 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0034 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación140
Confianza140
Base
TOM600
Innovación160
Confianza160
function mostrarGraficaG0034(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0034').forEach(el => el.classList.remove('activa-g0034'));
document.getElementById(id).classList.add('activa-g0034');
document.querySelectorAll('.botones-g0034 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0034() {
const chartOptionsG0034 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0034, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0034-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0034, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0034-2025"), opciones).render();
}
});
}
function checkVisibilityG0034() {
const el = document.querySelector('.body-g0034.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0034();
}
requestAnimationFrame(checkVisibilityG0034);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0034);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Relojes
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g71 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g71 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g71 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g71 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g71 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g71 { gap: 10px; max-width: 300px; }
.marca-item_g71 { font-size: 11px; }
.color-circulo_g71 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g71 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g71 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g71 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g71 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g71 = window.innerWidth < 600;
const eventosGrafica_g71 = isMobile_g71 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g71',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g71(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g71() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g71');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g71');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g71, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g71');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g71[index % colores_g71.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g71';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g71').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g71,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g71() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g71');
if (el && isVisible_g71(el)) renderGrafica_g71();
requestAnimationFrame(checkVisibility_g71);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g71);
});
})();
.body-g0035 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0035 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0035 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0035 button:hover {
background-color: #e89a3b;
}
.botones-g0035 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0035 {
display: none;
}
.activa-g0035 {
display: block;
}
.logo-dinero-g0035 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0035 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0035 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0035 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0035 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0035 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0035 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación134
Confianza134
Base
TOM600
Innovación115
Confianza115
function mostrarGraficaG0035(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0035').forEach(el => el.classList.remove('activa-g0035'));
document.getElementById(id).classList.add('activa-g0035');
document.querySelectorAll('.botones-g0035 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0035() {
const chartOptionsG0035 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0035, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0035-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0035, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0035-2025"), opciones).render();
}
});
}
function checkVisibilityG0035() {
const el = document.querySelector('.body-g0035.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0035();
}
requestAnimationFrame(checkVisibilityG0035);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0035);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Comida Rápida
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g72 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g72 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g72 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g72 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g72 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g72 { gap: 10px; max-width: 300px; }
.marca-item_g72 { font-size: 11px; }
.color-circulo_g72 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g72 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g72 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g72 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g72 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g72 = window.innerWidth < 600;
const eventosGrafica_g72 = isMobile_g72 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g72',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g72(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g72() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g72');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g72');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g72, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g72');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g72[index % colores_g72.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g72';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g72').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g72,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g72() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g72');
if (el && isVisible_g72(el)) renderGrafica_g72();
requestAnimationFrame(checkVisibility_g72);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g72);
});
})();
.body-g0036 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0036 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0036 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0036 button:hover {
background-color: #e89a3b;
}
.botones-g0036 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0036 {
display: none;
}
.activa-g0036 {
display: block;
}
.logo-dinero-g0036 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0036 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0036 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0036 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0036 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0036 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0036 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación119
Confianza119
Base
TOM600
Innovación119
Confianza119
function mostrarGraficaG0036(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0036').forEach(el => el.classList.remove('activa-g0036'));
document.getElementById(id).classList.add('activa-g0036');
document.querySelectorAll('.botones-g0036 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0036() {
const chartOptionsG0036 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0036, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0036-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0036, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0036-2025"), opciones).render();
}
});
}
function checkVisibilityG0036() {
const el = document.querySelector('.body-g0036.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0036();
}
requestAnimationFrame(checkVisibilityG0036);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0036);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Universidades
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g73 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g73 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g73 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g73 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g73 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g73 { gap: 10px; max-width: 300px; }
.marca-item_g73 { font-size: 11px; }
.color-circulo_g73 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g73 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g73 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g73 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g73 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g73 = window.innerWidth < 600;
const eventosGrafica_g73 = isMobile_g73 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g73',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g73(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g73() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g73');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g73');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g73, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g73');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g73[index % colores_g73.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g73';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g73').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g73,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g73() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g73');
if (el && isVisible_g73(el)) renderGrafica_g73();
requestAnimationFrame(checkVisibility_g73);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g73);
});
})();
.body-g0037 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0037 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0037 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0037 button:hover {
background-color: #e89a3b;
}
.botones-g0037 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0037 {
display: none;
}
.activa-g0037 {
display: block;
}
.logo-dinero-g0037 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0037 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0037 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0037 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0037 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0037 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0037 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación139
Confianza139
Base
TOM600
Innovación136
Confianza136
function mostrarGraficaG0037(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0037').forEach(el => el.classList.remove('activa-g0037'));
document.getElementById(id).classList.add('activa-g0037');
document.querySelectorAll('.botones-g0037 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0037() {
const chartOptionsG0037 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0037, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0037-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0037, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0037-2025"), opciones).render();
}
});
}
function checkVisibilityG0037() {
const el = document.querySelector('.body-g0037.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0037();
}
requestAnimationFrame(checkVisibilityG0037);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0037);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
E.P.S
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g74 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g74 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g74 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g74 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g74 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g74 { gap: 10px; max-width: 300px; }
.marca-item_g74 { font-size: 11px; }
.color-circulo_g74 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g74 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g74 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g74 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g74 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g74 = window.innerWidth < 600;
const eventosGrafica_g74 = isMobile_g74 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g74',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g74(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g74() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g74');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g74');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g74, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g74');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g74[index % colores_g74.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g74';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g74').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g74,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g74() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g74');
if (el && isVisible_g74(el)) renderGrafica_g74();
requestAnimationFrame(checkVisibility_g74);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g74);
});
})();
.body-g0038 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0038 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0038 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0038 button:hover {
background-color: #e89a3b;
}
.botones-g0038 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0038 {
display: none;
}
.activa-g0038 {
display: block;
}
.logo-dinero-g0038 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0038 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0038 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0038 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0038 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0038 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0038 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación147
Confianza147
Base
TOM600
Innovación160
Confianza160
function mostrarGraficaG0038(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0038').forEach(el => el.classList.remove('activa-g0038'));
document.getElementById(id).classList.add('activa-g0038');
document.querySelectorAll('.botones-g0038 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0038() {
const chartOptionsG0038 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0038, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0038-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0038, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0038-2025"), opciones).render();
}
});
}
function checkVisibilityG0038() {
const el = document.querySelector('.body-g0038.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0038();
}
requestAnimationFrame(checkVisibilityG0038);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0038);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Centros Comerciales
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g75 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g75 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g75 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g75 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g75 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g75 { gap: 10px; max-width: 300px; }
.marca-item_g75 { font-size: 11px; }
.color-circulo_g75 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g75 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g75 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g75 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g75 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g75 = window.innerWidth < 600;
const eventosGrafica_g75 = isMobile_g75 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g75',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g75(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g75() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g75');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g75');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g75, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g75');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g75[index % colores_g75.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g75';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g75').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g75,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g75() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g75');
if (el && isVisible_g75(el)) renderGrafica_g75();
requestAnimationFrame(checkVisibility_g75);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g75);
});
})();
.body-g0039 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0039 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0039 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0039 button:hover {
background-color: #e89a3b;
}
.botones-g0039 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0039 {
display: none;
}
.activa-g0039 {
display: block;
}
.logo-dinero-g0039 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0039 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0039 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0039 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0039 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0039 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0039 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación146
Confianza146
Base
TOM600
Innovación146
Confianza146
function mostrarGraficaG0039(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0039').forEach(el => el.classList.remove('activa-g0039'));
document.getElementById(id).classList.add('activa-g0039');
document.querySelectorAll('.botones-g0039 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0039() {
const chartOptionsG0039 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0039, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0039-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0039, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0039-2025"), opciones).render();
}
});
}
function checkVisibilityG0039() {
const el = document.querySelector('.body-g0039.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0039();
}
requestAnimationFrame(checkVisibilityG0039);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0039);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Empresas de Mensajería
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g76 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g76 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g76 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g76 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g76 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g76 { gap: 10px; max-width: 300px; }
.marca-item_g76 { font-size: 11px; }
.color-circulo_g76 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g76 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g76 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g76 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g76 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g76 = window.innerWidth < 600;
const eventosGrafica_g76 = isMobile_g76 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g76',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g76(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g76() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g76');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g76');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g76, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g76');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g76[index % colores_g76.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g76';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g76').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g76,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g76() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g76');
if (el && isVisible_g76(el)) renderGrafica_g76();
requestAnimationFrame(checkVisibility_g76);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g76);
});
})();
.body-g0040 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0040 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0040 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0040 button:hover {
background-color: #e89a3b;
}
.botones-g0040 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0040 {
display: none;
}
.activa-g0040 {
display: block;
}
.logo-dinero-g0040 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0040 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0040 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0040 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0040 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0040 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0040 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación121
Confianza122
Base
TOM600
Innovación133
Confianza133
function mostrarGraficaG0040(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0040').forEach(el => el.classList.remove('activa-g0040'));
document.getElementById(id).classList.add('activa-g0040');
document.querySelectorAll('.botones-g0040 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0040() {
const chartOptionsG0040 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0040, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0040-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0040, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0040-2025"), opciones).render();
}
});
}
function checkVisibilityG0040() {
const el = document.querySelector('.body-g0040.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0040();
}
requestAnimationFrame(checkVisibilityG0040);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0040);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Fabricantes de Electrodomésticos
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g77 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g77 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g77 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g77 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g77 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g77 { gap: 10px; max-width: 300px; }
.marca-item_g77 { font-size: 11px; }
.color-circulo_g77 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g77 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g77 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g77 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g77 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g77 = window.innerWidth < 600;
const eventosGrafica_g77 = isMobile_g77 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g77',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g77(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g77() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g77');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g77');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g77, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g77');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g77[index % colores_g77.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g77';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g77').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g77,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g77() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g77');
if (el && isVisible_g77(el)) renderGrafica_g77();
requestAnimationFrame(checkVisibility_g77);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g77);
});
})();
.body-g0041 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0041 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0041 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0041 button:hover {
background-color: #e89a3b;
}
.botones-g0041 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0041 {
display: none;
}
.activa-g0041 {
display: block;
}
.logo-dinero-g0041 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0041 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0041 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0041 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0041 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0041 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0041 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación119
Confianza119
Base
TOM600
Innovación120
Confianza120
function mostrarGraficaG0041(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0041').forEach(el => el.classList.remove('activa-g0041'));
document.getElementById(id).classList.add('activa-g0041');
document.querySelectorAll('.botones-g0041 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0041() {
const chartOptionsG0041 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0041, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0041-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0041, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0041-2025"), opciones).render();
}
});
}
function checkVisibilityG0041() {
const el = document.querySelector('.body-g0041.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0041();
}
requestAnimationFrame(checkVisibilityG0041);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0041);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Fabricantes de Televisores
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g78 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g78 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g78 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g78 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g78 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g78 { gap: 10px; max-width: 300px; }
.marca-item_g78 { font-size: 11px; }
.color-circulo_g78 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g78 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g78 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g78 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g78 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g78 = window.innerWidth < 600;
const eventosGrafica_g78 = isMobile_g78 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g78',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g78(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g78() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g78');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g78');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g78, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g78');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g78[index % colores_g78.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g78';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g78').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g78,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g78() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g78');
if (el && isVisible_g78(el)) renderGrafica_g78();
requestAnimationFrame(checkVisibility_g78);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g78);
});
})();
.body-g0042 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0042 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0042 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0042 button:hover {
background-color: #e89a3b;
}
.botones-g0042 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0042 {
display: none;
}
.activa-g0042 {
display: block;
}
.logo-dinero-g0042 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0042 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0042 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0042 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0042 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0042 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0042 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación140
Confianza140
Base
TOM600
Innovación155
Confianza155
function mostrarGraficaG0042(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0042').forEach(el => el.classList.remove('activa-g0042'));
document.getElementById(id).classList.add('activa-g0042');
document.querySelectorAll('.botones-g0042 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0042() {
const chartOptionsG0042 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0042, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0042-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0042, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0042-2025"), opciones).render();
}
});
}
function checkVisibilityG0042() {
const el = document.querySelector('.body-g0042.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0042();
}
requestAnimationFrame(checkVisibilityG0042);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0042);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Marcas de Cementos
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g79 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g79 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g79 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g79 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g79 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g79 { gap: 10px; max-width: 300px; }
.marca-item_g79 { font-size: 11px; }
.color-circulo_g79 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g79 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g79 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g79 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g79 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g79 = window.innerWidth < 600;
const eventosGrafica_g79 = isMobile_g79 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g79',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g79(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g79() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g79');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g79');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g79, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g79');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g79[index % colores_g79.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g79';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g79').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g79,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g79() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g79');
if (el && isVisible_g79(el)) renderGrafica_g79();
requestAnimationFrame(checkVisibility_g79);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g79);
});
})();
.body-g0043 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0043 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0043 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0043 button:hover {
background-color: #e89a3b;
}
.botones-g0043 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0043 {
display: none;
}
.activa-g0043 {
display: block;
}
.logo-dinero-g0043 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0043 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0043 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0043 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0043 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0043 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0043 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación113
Confianza113
Base
TOM600
Innovación101
Confianza101
function mostrarGraficaG0043(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0043').forEach(el => el.classList.remove('activa-g0043'));
document.getElementById(id).classList.add('activa-g0043');
document.querySelectorAll('.botones-g0043 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0043() {
const chartOptionsG0043 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0043, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0043-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0043, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0043-2025"), opciones).render();
}
});
}
function checkVisibilityG0043() {
const el = document.querySelector('.body-g0043.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0043();
}
requestAnimationFrame(checkVisibilityG0043);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0043);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Aplicaciones (App) para Pedir Domicilios y Mercado
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g80 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g80 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g80 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g80 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g80 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g80 { gap: 10px; max-width: 300px; }
.marca-item_g80 { font-size: 11px; }
.color-circulo_g80 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g80 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g80 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g80 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g80 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g80 = window.innerWidth < 600;
const eventosGrafica_g80 = isMobile_g80 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g80',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g80(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g80() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g80');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g80');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g80, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g80');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g80[index % colores_g80.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g80';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g80').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g80,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g80() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g80');
if (el && isVisible_g80(el)) renderGrafica_g80();
requestAnimationFrame(checkVisibility_g80);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g80);
});
})();
.body-g0044 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0044 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0044 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0044 button:hover {
background-color: #e89a3b;
}
.botones-g0044 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0044 {
display: none;
}
.activa-g0044 {
display: block;
}
.logo-dinero-g0044 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0044 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0044 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0044 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0044 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0044 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0044 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación93
Confianza93
Base
TOM600
Innovación90
Confianza90
function mostrarGraficaG0044(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0044').forEach(el => el.classList.remove('activa-g0044'));
document.getElementById(id).classList.add('activa-g0044');
document.querySelectorAll('.botones-g0044 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0044() {
const chartOptionsG0044 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0044, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0044-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0044, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0044-2025"), opciones).render();
}
});
}
function checkVisibilityG0044() {
const el = document.querySelector('.body-g0044.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0044();
}
requestAnimationFrame(checkVisibilityG0044);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0044);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Plataformas de Pago Digital
.body-graf-g43 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g81 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g81 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g81 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g81 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g43 { padding: 0; }
canvas#grafica_g81 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g81 { gap: 10px; max-width: 300px; }
.marca-item_g81 { font-size: 11px; }
.color-circulo_g81 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g81 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g81 {
opacity: 1;
top: 0;
}
Base: 600
(function () {
const csvUrl_g81 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcagS_-sPcb3uOaGjDEDii…;;
const colores_g81 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g81 = window.innerWidth < 600;
const eventosGrafica_g81 = isMobile_g81 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g81',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g81(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g81() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g81');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g81');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g81, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g81');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g81[index % colores_g81.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g81';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g81').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g81,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g81() {
const el = document.querySelector('.body-graf-g43.hidden-obj_g81');
if (el && isVisible_g81(el)) renderGrafica_g81();
requestAnimationFrame(checkVisibility_g81);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g81);
});
})();
.body-g0045 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0045 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0045 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0045 button:hover {
background-color: #e89a3b;
}
.botones-g0045 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0045 {
display: none;
}
.activa-g0045 {
display: block;
}
.logo-dinero-g0045 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0045 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0045 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0045 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0045 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0045 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0045 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación116
Confianza116
Base
TOM600
Innovación125
Confianza125
function mostrarGraficaG0045(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0045').forEach(el => el.classList.remove('activa-g0045'));
document.getElementById(id).classList.add('activa-g0045');
document.querySelectorAll('.botones-g0045 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0045() {
const chartOptionsG0045 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0045, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0045-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0045, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0045-2025"), opciones).render();
}
});
}
function checkVisibilityG0045() {
const el = document.querySelector('.body-g0045.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0045();
}
requestAnimationFrame(checkVisibilityG0045);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0045);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Plataformas de Streaming/Video TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs02 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs02 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs02 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs02 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs02 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs02 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs02 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs02 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs02(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs02() {
const el = document.querySelector('.grafica-marcas-body_bs02.hidden-obj_bs02');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs02');
el.dataset.rendered = "true";
Papa.parse(url_bs02, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs02"), opciones);
chart.render();
}
});
}
function checkVisibility_bs02() {
const el = document.querySelector('.grafica-marcas-body_bs02.hidden-obj_bs02');
if (el && isVisible_bs02(el)) renderGrafica_bs02();
requestAnimationFrame(checkVisibility_bs02);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs02);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Plataformas de Streaming/Video
.body-g0046 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0046 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0046 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0046 button:hover {
background-color: #e89a3b;
}
.botones-g0046 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0046 {
display: none;
}
.activa-g0046 {
display: block;
}
.logo-dinero-g0046 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0046 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0046 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0046 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0046 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0046 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0046 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM600
Innovación98
Confianza98
Base
TOM600
Innovación111
Confianza111
function mostrarGraficaG0046(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0046').forEach(el => el.classList.remove('activa-g0046'));
document.getElementById(id).classList.add('activa-g0046');
document.querySelectorAll('.botones-g0046 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0046() {
const chartOptionsG0046 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0046, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0046-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0046, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0046-2025"), opciones).render();
}
});
}
function checkVisibilityG0046() {
const el = document.querySelector('.body-g0046.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0046();
}
requestAnimationFrame(checkVisibilityG0046);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0046);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Comida Para Mascotas (Perros y/o Gatos) TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs04 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs04 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs04 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs04 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs04 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs04 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs04 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs04 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs04(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs04() {
const el = document.querySelector('.grafica-marcas-body_bs04.hidden-obj_bs04');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs04');
el.dataset.rendered = "true";
Papa.parse(url_bs04, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs04"), opciones);
chart.render();
}
});
}
function checkVisibility_bs04() {
const el = document.querySelector('.grafica-marcas-body_bs04.hidden-obj_bs04');
if (el && isVisible_bs04(el)) renderGrafica_bs04();
requestAnimationFrame(checkVisibility_bs04);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs04);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Comida Para Mascotas (Perros y/o Gatos)
.body-g0047 {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background: #fff;
max-width: 820px;
margin: auto;
}
.botones-g0047 {
text-align: center;
margin-bottom: 20px;
}
.botones-g0047 button {
padding: 10px 20px;
margin: 0 10px;
font-size: 14px;
cursor: pointer;
border: 1px solid #f27c25;
background-color: #fcb06b;
border-radius: 6px;
transition: background-color 0.3s, color 0.3s;
color: #fff;
}
.botones-g0047 button:hover {
background-color: #e89a3b;
}
.botones-g0047 button.activo {
background-color: #ea8522;
color: #fff;
}
.contenedor-grafica-g0047 {
display: none;
}
.activa-g0047 {
display: block;
}
.logo-dinero-g0047 {
display: flex;
justify-content: right;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.info-base-g0047 {
text-align: center;
font-weight: bold;
font-size: 12px;
color: #666;
margin-top: 10px;
}
.linea-g0047 {
height: 1px;
background-color: #ccc;
width: 180px;
margin: 6px auto 0 auto;
}
.detalle-g0047 {
display: flex;
justify-content: center;
gap: 30px;
font-size: 11px;
color: #444;
margin-top: 6px;
margin-bottom: 25px;
}
.detalle-g0047 div {
display: flex;
flex-direction: column;
align-items: center;
}
.detalle-g0047 span:first-child {
font-weight: bold;
color: #888;
font-size: 10px;
margin-bottom: 3px;
}
.detalle-g0047 span:last-child {
font-weight: 400;
color: #888;
font-size: 11px;
padding: 4px 8px;
border-radius: 4px;
}
.tom { border: 1.5px solid #5bc2f6; }
.innovacion { border: 1.5px solid #fb6c6c; }
.confianza { border: 1.5px solid #ff9553; }
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.05);
filter: brightness(1.1);
}
.hidden-obj {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj {
opacity: 1;
top: 0;
}
2025
2023
Base
TOM601
Innovación98
Confianza98
Base
TOM601
Innovación112
Confianza112
function mostrarGraficaG0047(id, boton) {
document.querySelectorAll('.contenedor-grafica-g0047').forEach(el => el.classList.remove('activa-g0047'));
document.getElementById(id).classList.add('activa-g0047');
document.querySelectorAll('.botones-g0047 button').forEach(btn => btn.classList.remove('activo'));
boton.classList.add('activo');
}
function cargarGraficasG0047() {
const chartOptionsG0047 = {
chart: {
type: 'bar',
height: 500,
animations: { enabled: true, easing: 'easeinout', speed: 300 },
toolbar: { show: false }
},
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } }, normal: { filter: { type: 'none' } } },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
tooltip: { y: { formatter: val => val + '%' } },
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: { position: 'top', horizontalAlign: 'center' },
stroke: { width: 0.5, colors: ['#ffffff'] }
};
/*csv2023*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0047, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0047-2023"), opciones).render();
}
});
/*csv2025*/
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcasb"] && r["TOM"] && r["Innovación"] && r["Confianza"]);
const categorias = data.map(r => (r["Marcasb"] || "").trim());
const tom = data.map(r => parseFloat(r["TOM"].replace('%', '').replace(',', '.')));
const innovacion = data.map(r => parseFloat(r["Innovación"].replace('%', '').replace(',', '.')));
const confianza = data.map(r => parseFloat(r["Confianza"].replace('%', '').replace(',', '.')));
const opciones = Object.assign({}, chartOptionsG0047, {
series: [
{ name: 'TOM', data: tom },
{ name: 'Innovación', data: innovacion },
{ name: 'Confianza', data: confianza }
],
xaxis: {
categories: categorias,
labels: { rotate: -45, style: { colors: '#999999' } }
},
yaxis: {
max: 100,
labels: { formatter: val => val + '%', style: { colors: '#999999' } }
}
});
new ApexCharts(document.querySelector("#grafica-g0047-2025"), opciones).render();
}
});
}
function checkVisibilityG0047() {
const el = document.querySelector('.body-g0047.hidden-obj');
if (!el) return;
const rect = el.getBoundingClientRect();
if (rect.top < window.innerHeight - 50 && !el.dataset.rendered) {
el.classList.add('visible-obj');
el.dataset.rendered = 'true';
cargarGraficasG0047();
}
requestAnimationFrame(checkVisibilityG0047);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibilityG0047);
});
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Plataformas de Compras por Internet TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs05 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs05 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs05 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs05 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs05 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs05 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs05 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs05 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs05(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs05() {
const el = document.querySelector('.grafica-marcas-body_bs05.hidden-obj_bs05');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs05');
el.dataset.rendered = "true";
Papa.parse(url_bs05, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs05"), opciones);
chart.render();
}
});
}
function checkVisibility_bs05() {
const el = document.querySelector('.grafica-marcas-body_bs05.hidden-obj_bs05');
if (el && isVisible_bs05(el)) renderGrafica_bs05();
requestAnimationFrame(checkVisibility_bs05);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs05);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Plataformas de Compras por Internet
Gráfica bu04
.grafica-marcas-body_bu0404 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bu0404 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bu0404 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bu0404 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bu0404 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bu0404 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bu0404 {
opacity: 1;
top: 0;
}
Base
TOM
600
Innovación
108
Confianza
108
(function () {
const url_bu0404 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bu0404(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bu0404() {
const el = document.querySelector('.grafica-marcas-body_bu0404.hidden-obj_bu0404');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bu0404');
el.dataset.rendered = "true";
Papa.parse(url_bu0404, {
download: true,
header: true,
complete: function(result) {
const data_bu0404 = result.data.filter(r => r["Marcasb"]);
const columnas_bu0404 = Object.keys(result.data[0]).filter(k => k !== "Marcasb");
const categorias_bu0404 = data_bu0404.map(r => (r["Marcasb"] || "").trim());
const series_bu0404 = columnas_bu0404.map(col => ({
name: col,
data: data_bu0404.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones_bu0404 = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series_bu0404,
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias_bu0404,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart_bu0404 = new ApexCharts(document.querySelector("#grafica-container_bu0404"), opciones_bu0404);
chart_bu0404.render();
}
});
}
function checkVisibility_bu0404() {
const el = document.querySelector('.grafica-marcas-body_bu0404.hidden-obj_bu0404');
if (el && isVisible_bu0404(el)) renderGrafica_bu0404();
requestAnimationFrame(checkVisibility_bu0404);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bu0404);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Estaciones de Gasolina TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs06 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs06 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs06 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs06 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs06 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs06 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs06 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs06 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs06(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs06() {
const el = document.querySelector('.grafica-marcas-body_bs06.hidden-obj_bs06');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs06');
el.dataset.rendered = "true";
Papa.parse(url_bs06, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs06"), opciones);
chart.render();
}
});
}
function checkVisibility_bs06() {
const el = document.querySelector('.grafica-marcas-body_bs06.hidden-obj_bs06');
if (el && isVisible_bs06(el)) renderGrafica_bs06();
requestAnimationFrame(checkVisibility_bs06);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs06);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Estaciones de Gasolina
Gráfica bu04
.grafica-marcas-body_bu05 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bu05 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bu05 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bu05 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bu05 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bu05 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bu05 {
opacity: 1;
top: 0;
}
Base
TOM
600
Innovación
120
Confianza
120
(function () {
const url_bu05 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bu05(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bu05() {
const el = document.querySelector('.grafica-marcas-body_bu05.hidden-obj_bu05');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bu05');
el.dataset.rendered = "true";
Papa.parse(url_bu05, {
download: true,
header: true,
complete: function(result) {
const data_bu05 = result.data.filter(r => r["Marcasb"]);
const columnas_bu05 = Object.keys(result.data[0]).filter(k => k !== "Marcasb");
const categorias_bu05 = data_bu05.map(r => (r["Marcasb"] || "").trim());
const series_bu05 = columnas_bu05.map(col => ({
name: col,
data: data_bu05.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones_bu05 = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series_bu05,
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias_bu05,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart_bu05 = new ApexCharts(document.querySelector("#grafica-container_bu05"), opciones_bu05);
chart_bu05.render();
}
});
}
function checkVisibility_bu05() {
const el = document.querySelector('.grafica-marcas-body_bu05.hidden-obj_bu05');
if (el && isVisible_bu05(el)) renderGrafica_bu05();
requestAnimationFrame(checkVisibility_bu05);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bu05);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Cajas de Compensación TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs07 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs07 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs07 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs07 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs07 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs07 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs07 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs07 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs07(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs07() {
const el = document.querySelector('.grafica-marcas-body_bs07.hidden-obj_bs07');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs07');
el.dataset.rendered = "true";
Papa.parse(url_bs07, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs07"), opciones);
chart.render();
}
});
}
function checkVisibility_bs07() {
const el = document.querySelector('.grafica-marcas-body_bs07.hidden-obj_bs07');
if (el && isVisible_bs07(el)) renderGrafica_bs07();
requestAnimationFrame(checkVisibility_bs07);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs07);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Cajas de Compensación
Gráfica bu04
.grafica-marcas-body_bu06 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bu06 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bu06 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bu06 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bu06 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bu06 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bu06 {
opacity: 1;
top: 0;
}
Base
TOM
600
Innovación
129
Confianza
129
(function () {
const url_bu06 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bu06(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bu06() {
const el = document.querySelector('.grafica-marcas-body_bu06.hidden-obj_bu06');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bu06');
el.dataset.rendered = "true";
Papa.parse(url_bu06, {
download: true,
header: true,
complete: function(result) {
const data_bu06 = result.data.filter(r => r["Marcasb"]);
const columnas_bu06 = Object.keys(result.data[0]).filter(k => k !== "Marcasb");
const categorias_bu06 = data_bu06.map(r => (r["Marcasb"] || "").trim());
const series_bu06 = columnas_bu06.map(col => ({
name: col,
data: data_bu06.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones_bu06 = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series_bu06,
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias_bu06,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart_bu06 = new ApexCharts(document.querySelector("#grafica-container_bu06"), opciones_bu06);
chart_bu06.render();
}
});
}
function checkVisibility_bu06() {
const el = document.querySelector('.grafica-marcas-body_bu06.hidden-obj_bu06');
if (el && isVisible_bu06(el)) renderGrafica_bu06();
requestAnimationFrame(checkVisibility_bu06);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bu06);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Operadores de Apuestas TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs08 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs08 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs08 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs08 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs08 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs08 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs08 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs08 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs08(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs08() {
const el = document.querySelector('.grafica-marcas-body_bs08.hidden-obj_bs08');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs08');
el.dataset.rendered = "true";
Papa.parse(url_bs08, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs08"), opciones);
chart.render();
}
});
}
function checkVisibility_bs08() {
const el = document.querySelector('.grafica-marcas-body_bs08.hidden-obj_bs08');
if (el && isVisible_bs08(el)) renderGrafica_bs08();
requestAnimationFrame(checkVisibility_bs08);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs08);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Operadores de Apuestas
Gráfica bu04
.grafica-marcas-body_bu07 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bu07 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bu07 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bu07 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bu07 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bu07 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bu07 {
opacity: 1;
top: 0;
}
Base
TOM
600
Innovación
78
Confianza
78
(function () {
const url_bu07 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bu07(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bu07() {
const el = document.querySelector('.grafica-marcas-body_bu07.hidden-obj_bu07');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bu07');
el.dataset.rendered = "true";
Papa.parse(url_bu07, {
download: true,
header: true,
complete: function(result) {
const data_bu07 = result.data.filter(r => r["Marcasb"]);
const columnas_bu07 = Object.keys(result.data[0]).filter(k => k !== "Marcasb");
const categorias_bu07 = data_bu07.map(r => (r["Marcasb"] || "").trim());
const series_bu07 = columnas_bu07.map(col => ({
name: col,
data: data_bu07.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones_bu07 = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series_bu07,
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias_bu07,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart_bu07 = new ApexCharts(document.querySelector("#grafica-container_bu07"), opciones_bu07);
chart_bu07.render();
}
});
}
function checkVisibility_bu07() {
const el = document.querySelector('.grafica-marcas-body_bu07.hidden-obj_bu07');
if (el && isVisible_bu07(el)) renderGrafica_bu07();
requestAnimationFrame(checkVisibility_bu07);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bu07);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Entidades de Medicina Prepagada TOM
Gráfica de Marcas con ApexCharts
.grafica-marcas-body_bs09 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bs09 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bs09 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bs09 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bs09 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bs09 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bs09 {
opacity: 1;
top: 0;
}
Base: 600
(function() {
const url_bs09 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bs09(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bs09() {
const el = document.querySelector('.grafica-marcas-body_bs09.hidden-obj_bs09');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bs09');
el.dataset.rendered = "true";
Papa.parse(url_bs09, {
download: true,
header: true,
complete: function(result) {
const data = result.data.filter(r => r["Marcas"]);
const columnas = Object.keys(result.data[0]).filter(k => k !== "Marcas");
const categorias = data.map(r => r["Marcas"].trim());
const series = columnas.map(col => ({
name: col,
data: data.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series,
colors: ['#5bc2f6', '#FF7777', '#ff9553', '#9966cc', '#ffcc00'],
fill: {
opacity: 1,
type: 'solid'
},
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart = new ApexCharts(document.querySelector("#grafica-container_bs09"), opciones);
chart.render();
}
});
}
function checkVisibility_bs09() {
const el = document.querySelector('.grafica-marcas-body_bs09.hidden-obj_bs09');
if (el && isVisible_bs09(el)) renderGrafica_bs09();
requestAnimationFrame(checkVisibility_bs09);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bs09);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Entidades de Medicina Prepagada
Gráfica bu04
.grafica-marcas-body_bu08 {
font-family: Arial, sans-serif;
max-width: 900px;
margin: 20px auto;
padding: 10px;
}
#grafica-container_bu08 {
width: 100%;
min-height: 500px;
}
.apexcharts-bar-series .apexcharts-series path {
transition: transform 0.5s ease, stroke 0.5s ease;
transform-origin: bottom center;
}
.apexcharts-bar-series .apexcharts-series path:hover {
transform: scaleY(1.024);
stroke: #ffffff;
stroke-width: 0.25;
}
@media (max-width: 600px) {
.grafica-marcas-body_bu08 {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100vw !important;
}
#grafica-container_bu08 {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}
.caja-logo-dinero_bu08 {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: 20px auto 0 auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_bu08 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_bu08 {
opacity: 1;
top: 0;
}
Base
TOM
600
Innovación
85
Confianza
85
(function () {
const url_bu08 = "https://docs.google.com/spreadsheets/d/e/2PACX-1vQDiSE9XNmtYWf-VulWxv78…;;
function isVisible_bu08(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_bu08() {
const el = document.querySelector('.grafica-marcas-body_bu08.hidden-obj_bu08');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_bu08');
el.dataset.rendered = "true";
Papa.parse(url_bu08, {
download: true,
header: true,
complete: function(result) {
const data_bu08 = result.data.filter(r => r["Marcasb"]);
const columnas_bu08 = Object.keys(result.data[0]).filter(k => k !== "Marcasb");
const categorias_bu08 = data_bu08.map(r => (r["Marcasb"] || "").trim());
const series_bu08 = columnas_bu08.map(col => ({
name: col,
data: data_bu08.map(r => parseFloat((r[col] || '0').replace('%', '').replace(',', '.')))
}));
const opciones_bu08 = {
chart: {
type: 'bar',
height: 500,
animations: {
enabled: true,
easing: 'easeinout',
speed: 300
},
toolbar: { show: false }
},
series: series_bu08,
colors: ['#5bc2f6', '#fb6c6c', '#ff9553'],
fill: { opacity: 1, type: 'solid' },
plotOptions: {
bar: {
horizontal: false,
columnWidth: '70%',
endingShape: 'rounded',
dataLabels: { position: 'top' }
}
},
xaxis: {
categories: categorias_bu08,
labels: {
rotate: -45,
style: { colors: '#999999' }
}
},
yaxis: {
max: 100,
labels: {
formatter: val => val + '%',
style: { colors: '#999999' }
}
},
tooltip: {
y: {
formatter: val => val + '%'
}
},
dataLabels: {
enabled: true,
formatter: val => val + '%',
offsetY: -20,
style: {
fontSize: window.innerWidth < 600 ? '8px' : '10px',
fontWeight: '300',
colors: ['#666666']
}
},
legend: {
position: 'top',
horizontalAlign: 'center'
},
stroke: {
width: 0.5,
colors: ['#ffffff']
}
};
const chart_bu08 = new ApexCharts(document.querySelector("#grafica-container_bu08"), opciones_bu08);
chart_bu08.render();
}
});
}
function checkVisibility_bu08() {
const el = document.querySelector('.grafica-marcas-body_bu08.hidden-obj_bu08');
if (el && isVisible_bu08(el)) renderGrafica_bu08();
requestAnimationFrame(checkVisibility_bu08);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_bu08);
});
})();
.caja-todo10{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: 100%;
max-width: 600px;
justify-content: center;
margin: 10px auto;
}
.caja-imagenes10{
margin: auto;
}
.caja-imagenes10 img{
-webkit-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
-moz-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
max-width: 180px;
height: 180px;
width: 100%;
z-index: 1;
}
.img_sep{
margin: auto;
}
.linea_izq{
width: 100%;
height: 100%;
max-width: 80%;
max-height: 2.5px;
background: #eb5c2e;
margin: auto;
}
@media (max-width: 768px){
.caja-todo10{
grid-template-columns: 25% 50% 25%;
max-width: 380px;
}
.linea_izq{
max-width: 80%;
}
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #eb5c2e;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Jóvenes
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
¿Cuáles son las tres (3) primeras marcas que se le vienen a la mente?
.body-graf-g01 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g01 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g01 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g01 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g01 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g01 { padding: 0; }
canvas#grafica_g01 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g01 { gap: 10px; max-width: 300px; }
.marca-item_g01 { font-size: 11px; }
.color-circulo_g01 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g01 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g01 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTifQSjI6gMJH5bJFKyGg4R…;;
const nombresMarcas = ["Adidas", "Nike", "Coca-Cola", "Diana", "Samsung", "Iphone", "Puma"];
const colores = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile = window.innerWidth < 600;
const eventos = isMobile ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g01',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderChart() {
const el = document.querySelector('.body-graf-g01.hidden-obj_g01');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g01');
el.dataset.rendered = "true";
Papa.parse(csvUrl, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marca");
const lista = document.getElementById('marcas-lista_g01');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores[index % colores.length];
const nombre = nombresMarcas[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g01';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g01').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventos,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
boxPadding: 2,
boxWidth: 8,
boxHeight: 8,
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility() {
const el = document.querySelector('.body-graf-g01.hidden-obj_g01');
if (el && isVisible(el)) renderChart();
requestAnimationFrame(checkVisibility);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Bebidas
El turno es para los jugosLos jugos empiezan esta vez a ser más recordados que las gaseosas. Jugos Hit con 56 por ciento en recordación lidera el top of mind en esta categoría, seguido por Del Valle con 14 por ciento. Coca-Cola pierde 22 puntos porcentuales frente a 2024, aunque con 36 por ciento sigue liderando entre las gaseosas, donde Pepsi-Cola también pierde 3 puntos y llega a 9 por ciento.Y así como los jugos, las aguas embotelladas también se recuperan y la mayoría de las marcas gana puntos porcentuales frente al año pasado. Cristal, que encabeza la categoría de aguas, gana 14 puntos y alcanza 45 por ciento en la medición.En leches líquidas es Alquería la más recordada por niños y jóvenes, con 37 por ciento. Le siguen Alpina y Colanta, y en esta oportunidad el ‘no recuerda’ cae 8 puntos porcentuales frente a 2024.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Gaseosas
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g03 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g03 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g03 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g03 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g03 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g03 { gap: 10px; max-width: 300px; }
.marca-item_g03 { font-size: 11px; }
.color-circulo_g03 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g03 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g03 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g03 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTifQSjI6gMJH5bJFKyGg4R…;;
const colores_g03 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g03 = window.innerWidth < 600;
const eventosGrafica_g03 = isMobile_g03 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g03',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g03(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g03() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g03');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g03');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g03, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g03');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g03[index % colores_g03.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g03';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g03').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g03,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g03() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g03');
if (el && isVisible_g03(el)) renderGrafica_g03();
requestAnimationFrame(checkVisibility_g03);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g03);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Aguas Embotelladas
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g05 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g05 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g05 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g05 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g05 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g05 { gap: 10px; max-width: 300px; }
.marca-item_g05 { font-size: 11px; }
.color-circulo_g05 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g05 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g05 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g05 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTifQSjI6gMJH5bJFKyGg4R…;;
const colores_g05 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g05 = window.innerWidth < 600;
const eventosGrafica_g05 = isMobile_g05 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g05',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g05(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g05() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g05');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g05');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g05, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g05');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g05[index % colores_g05.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g05';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g05').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g05,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g05() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g05');
if (el && isVisible_g05(el)) renderGrafica_g05();
requestAnimationFrame(checkVisibility_g05);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g05);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Jugos
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g005 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g005 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g005 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g005 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g005 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g005 { gap: 10px; max-width: 300px; }
.marca-item_g005 { font-size: 11px; }
.color-circulo_g005 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g005 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g005 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g005 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTifQSjI6gMJH5bJFKyGg4R…;;
const colores_g005 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g005 = window.innerWidth < 600;
const eventosGrafica_g005 = isMobile_g005 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g005',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g005(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g005() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g005');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g005');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g005, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g005');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g005[index % colores_g005.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g005';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g005').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g005,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g005() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g005');
if (el && isVisible_g005(el)) renderGrafica_g005();
requestAnimationFrame(checkVisibility_g005);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g005);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Leches líquidas
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g06 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g06 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g06 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g06 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g06 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g06 { gap: 10px; max-width: 300px; }
.marca-item_g06 { font-size: 11px; }
.color-circulo_g06 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g06 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g06 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g06 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTifQSjI6gMJH5bJFKyGg4R…;;
const colores_g06 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g06 = window.innerWidth < 600;
const eventosGrafica_g06 = isMobile_g06 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g06',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g06(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g06() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g06');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g06');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g06, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g06');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g06[index % colores_g06.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g06';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g06').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g06,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g06() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g06');
if (el && isVisible_g06(el)) renderGrafica_g06();
requestAnimationFrame(checkVisibility_g06);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g06);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Aseo
La más cepilladaColgate es la marca que más recuerdan niños y jóvenes en esta medición, con 84 por ciento, aunque, este año, no aparece entre las diez primeras marcas más recordadas espontáneamente, entre todas las marcas. Oral B y Fortident le siguen a la líder de cremas dentales, pero con una gran brecha. En jabones de baño es Dove la marca que lidera la lista con 7 puntos más que el año pasado, desplazando a Protex que obtuvo 22 por ciento. Y en champús, las primeras cinco marcas pierden puntos porcentuales frente al año pasado, Savital es la que lidera el top of mind, seguida por Head & Shoulders (H & S), Pantene y Johnson’s.Y a la hora de pensar en papel higiénico, Familia es la marca que más tienen presente, con 57 por ciento. Eso sí, la brecha con las demás marcas sigue creciendo: Scott (14 por ciento) y Elite (11 por ciento). El ‘no recuerda’ cae 10 puntos.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Cremas Dentales
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g07 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g07 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g07 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g07 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g07 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g07 { gap: 10px; max-width: 300px; }
.marca-item_g07 { font-size: 11px; }
.color-circulo_g07 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g07 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g07 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g07 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTctxbt4GfDwrfQzjJ5wCA0…;;
const colores_g07 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g07 = window.innerWidth < 600;
const eventosGrafica_g07 = isMobile_g07 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g07',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g07(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g07() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g07');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g07');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g07, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g07');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g07[index % colores_g07.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g07';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g07').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g07,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g07() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g07');
if (el && isVisible_g07(el)) renderGrafica_g07();
requestAnimationFrame(checkVisibility_g07);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g07);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Jabones de Baño
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g08 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g08 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g08 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g08 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g08 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g08 { gap: 10px; max-width: 300px; }
.marca-item_g08 { font-size: 11px; }
.color-circulo_g08 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g08 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g08 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g08 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTctxbt4GfDwrfQzjJ5wCA0…;;
const colores_g08 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g08 = window.innerWidth < 600;
const eventosGrafica_g08 = isMobile_g08 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g08',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g08(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g08() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g08');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g08');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g08, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g08');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g08[index % colores_g08.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g08';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g08').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g08,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g08() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g08');
if (el && isVisible_g08(el)) renderGrafica_g08();
requestAnimationFrame(checkVisibility_g08);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g08);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Shampoo para el Cabello
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g09 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g09 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g09 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g09 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g09 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g09 { gap: 10px; max-width: 300px; }
.marca-item_g09 { font-size: 11px; }
.color-circulo_g09 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g09 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g09 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g09 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTctxbt4GfDwrfQzjJ5wCA0…;;
const colores_g09 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g09 = window.innerWidth < 600;
const eventosGrafica_g09 = isMobile_g09 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g09',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g09(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g09() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g09');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g09');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g09, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g09');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g09[index % colores_g09.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g09';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g09').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g09,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g09() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g09');
if (el && isVisible_g09(el)) renderGrafica_g09();
requestAnimationFrame(checkVisibility_g09);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g09);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Papel Higiénico
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g010 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g010 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g010 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g010 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g010 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g010 { gap: 10px; max-width: 300px; }
.marca-item_g010 { font-size: 11px; }
.color-circulo_g010 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g010 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g010 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g010 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTctxbt4GfDwrfQzjJ5wCA0…;;
const colores_g010 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g010 = window.innerWidth < 600;
const eventosGrafica_g010 = isMobile_g010 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g010',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g010(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g010() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g010');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g010');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g010, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g010');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g010[index % colores_g010.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g010';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g010').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g010,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g010() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g010');
if (el && isVisible_g010(el)) renderGrafica_g010();
requestAnimationFrame(checkVisibility_g010);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g010);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Otras categorías, productos de consumo masivo
A todo ‘jet’La líder en esta categoría es chocolatinas Jet que obtiene el puntaje más alto, con 63 por ciento, pese a que pierde un punto frente al año pasado y es su registro más bajo en los últimos años. un espacio que sabe aprovechar Jumbo al llegar a 18 por ciento en recordación.A la hora de la salsa, Fruco es la más recordada para los niños y jóvenes, con 56 por ciento. Sin embargo, viene cayendo desde 2021, a diferencia de Bary que gana 11 puntos.En pastas, Doria registra 40 por ciento, pero le empieza a pisar los talones La Muñeca, que este año ganó 11 puntos porcentuales.Y entre las marcas de galletas, los niños y jóvenes, impulsaron a Oreo, que este año le gana en el top of mind a Festival.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Salsas de Tomate
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g011 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g011 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g011 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g011 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g011 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g011 { gap: 10px; max-width: 300px; }
.marca-item_g011 { font-size: 11px; }
.color-circulo_g011 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g011 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g011 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g011 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vR-AyqtKQYAE2h-xbizxg4h…;;
const colores_g011 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g011 = window.innerWidth < 600;
const eventosGrafica_g011 = isMobile_g011 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g011',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g011(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g011() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g011');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g011');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g011, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g011');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g011[index % colores_g011.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g011';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g011').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g011,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g011() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g011');
if (el && isVisible_g011(el)) renderGrafica_g011();
requestAnimationFrame(checkVisibility_g011);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g011);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Chocolatinas
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g012 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g012 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g012 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g012 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g012 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g012 { gap: 10px; max-width: 300px; }
.marca-item_g012 { font-size: 11px; }
.color-circulo_g012 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g012 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g012 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g012 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vR-AyqtKQYAE2h-xbizxg4h…;;
const colores_g012 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g012 = window.innerWidth < 600;
const eventosGrafica_g012 = isMobile_g012 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g012',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g012(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g012() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g012');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g012');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g012, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g012');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g012[index % colores_g012.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g012';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g012').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g012,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g012() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g012');
if (el && isVisible_g012(el)) renderGrafica_g012();
requestAnimationFrame(checkVisibility_g012);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g012);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Pastas Alimenticias
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g013 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g013 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g013 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g013 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g013 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g013 { gap: 10px; max-width: 300px; }
.marca-item_g013 { font-size: 11px; }
.color-circulo_g013 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g013 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g013 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g013 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vR-AyqtKQYAE2h-xbizxg4h…;;
const colores_g013 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g013 = window.innerWidth < 600;
const eventosGrafica_g013 = isMobile_g013 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g013',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g013(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g013() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g013');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g013');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g013, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g013');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g013[index % colores_g013.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g013';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g013').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g013,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g013() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g013');
if (el && isVisible_g013(el)) renderGrafica_g013();
requestAnimationFrame(checkVisibility_g013);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g013);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Galletas
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g014 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g014 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g014 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g014 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g014 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g014 { gap: 10px; max-width: 300px; }
.marca-item_g014 { font-size: 11px; }
.color-circulo_g014 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g014 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g014 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g014 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vR-AyqtKQYAE2h-xbizxg4h…;;
const colores_g014 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g014 = window.innerWidth < 600;
const eventosGrafica_g014 = isMobile_g014 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g014',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g014(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g014() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g014');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g014');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g014, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g014');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g014[index % colores_g014.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g014';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g014').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g014,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g014() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g014');
if (el && isVisible_g014(el)) renderGrafica_g014();
requestAnimationFrame(checkVisibility_g014);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g014);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Tecnología
Sigue el ajedrezEn computadores, la mente de niños y jóvenes varía y no se casan con una sola marca. Aunque Hewlett Packard (HP) sigue siendo el líder en el top of mind, pierde 8 puntos frente a 2024. Este año Samsung empata con Lenovo, y Apple se mantiene.Y en redes sociales, nuevamente Facebook lidera en la medición, aunque pierde 7 puntos porcentuales en una carrera descendente que emprendió desde 2023. Le siguen Instagram y WhatsApp con menos puntos que el año pasado, a diferencia de Tik Tok y Youtube con 8 y 5 puntos más, respectivamente.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Computadores
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g015 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g015 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g015 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g015 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g015 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g015 { gap: 10px; max-width: 300px; }
.marca-item_g015 { font-size: 11px; }
.color-circulo_g015 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g015 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g015 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g015 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQJ6lx3fsG5vCkEBGGkHfUQ…;;
const colores_g015 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g015 = window.innerWidth < 600;
const eventosGrafica_g015 = isMobile_g015 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g015',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g015(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g015() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g015');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g015');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g015, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g015');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g015[index % colores_g015.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g015';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g015').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g015,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g015() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g015');
if (el && isVisible_g015(el)) renderGrafica_g015();
requestAnimationFrame(checkVisibility_g015);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g015);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Redes Sociales
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g016 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g016 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g016 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g016 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g016 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g016 { gap: 10px; max-width: 300px; }
.marca-item_g016 { font-size: 11px; }
.color-circulo_g016 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g016 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g016 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g016 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQJ6lx3fsG5vCkEBGGkHfUQ…;;
const colores_g016 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g016 = window.innerWidth < 600;
const eventosGrafica_g016 = isMobile_g016 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g016',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g016(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g016() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g016');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g016');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g016, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g016');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g016[index % colores_g016.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g016';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g016').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g016,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g016() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g016');
if (el && isVisible_g016(el)) renderGrafica_g016();
requestAnimationFrame(checkVisibility_g016);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g016);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Comunicaciones
Se acercanEn telefonía celular los niños y jóvenes recuerdan más a Claro, pero con 12 puntos menos que el año pasado, mientras que Movistar gana 15 puntos y salta a 26 por ciento. En telecomunicaciones, donde se refiere a las compañías prestadoras de servicios de telefonía fija, TV e internet, Claro sigue liderando el top of mind. El ‘no recuerda’ se mantiene con 23 por ciento, y Movistar, tercera en la lista, gana 10 puntos frente a 2024. Las marcas de celulares que más tienen presente son Samsung, iPhone y Motorola, siendo la segunda la que más puntos porcentuales gana: 8 que le permite ir acortando la brecha con el ganador.Caracol, sigue liderando en el top of mind con 27 por ciento y gana 4 puntos frente a 2024. Disney llama la atención al subir de 7 a 17 por ciento, mientras que el canal RCN se mantiene con 16 por ciento.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Telefonía Celular
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g017 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g017 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g017 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g017 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g017 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g017 { gap: 10px; max-width: 300px; }
.marca-item_g017 { font-size: 11px; }
.color-circulo_g017 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g017 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g017 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g017 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ_gdcDlcOUmLAG1v9L_Sed…;;
const colores_g017 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g017 = window.innerWidth < 600;
const eventosGrafica_g017 = isMobile_g017 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g017',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g017(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g017() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g017');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g017');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g017, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g017');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g017[index % colores_g017.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g017';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g017').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g017,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g017() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g017');
if (el && isVisible_g017(el)) renderGrafica_g017();
requestAnimationFrame(checkVisibility_g017);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g017);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Telecomunicaciones
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g018 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g018 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g018 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g018 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g018 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g018 { gap: 10px; max-width: 300px; }
.marca-item_g018 { font-size: 11px; }
.color-circulo_g018 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g018 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g018 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g018 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ_gdcDlcOUmLAG1v9L_Sed…;;
const colores_g018 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g018 = window.innerWidth < 600;
const eventosGrafica_g018 = isMobile_g018 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g018',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g018(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g018() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g018');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g018');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g018, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g018');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g018[index % colores_g018.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g018';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g018').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g018,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g018() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g018');
if (el && isVisible_g018(el)) renderGrafica_g018();
requestAnimationFrame(checkVisibility_g018);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g018);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Teléfono Celular
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g019 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g019 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g019 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g019 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g019 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g019 { gap: 10px; max-width: 300px; }
.marca-item_g019 { font-size: 11px; }
.color-circulo_g019 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g019 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g019 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g019 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ_gdcDlcOUmLAG1v9L_Sed…;;
const colores_g019 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g019 = window.innerWidth < 600;
const eventosGrafica_g019 = isMobile_g019 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g019',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g019(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g019() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g019');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g019');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g019, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g019');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g019[index % colores_g019.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g019';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g019').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g019,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g019() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g019');
if (el && isVisible_g019(el)) renderGrafica_g019();
requestAnimationFrame(checkVisibility_g019);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g019);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Canales de Televisión
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g020 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g020 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g020 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g020 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g020 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g020 { gap: 10px; max-width: 300px; }
.marca-item_g020 { font-size: 11px; }
.color-circulo_g020 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g020 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g020 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g020 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQ_gdcDlcOUmLAG1v9L_Sed…;;
const colores_g020 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g020 = window.innerWidth < 600;
const eventosGrafica_g020 = isMobile_g020 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g020',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g020(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g020() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g020');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g020');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g020, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g020');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g020[index % colores_g020.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g020';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g020').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g020,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g020() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g020');
if (el && isVisible_g020(el)) renderGrafica_g020();
requestAnimationFrame(checkVisibility_g020);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g020);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #515ca7;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Categoría Sector Financiero
Bancolombia es el banco líder en el top of mind, con 38 por ciento, aunque pierde 7 puntos frente al año pasado. El ‘no recuerda’ con 16 por ciento empata con el Banco de Bogotá que gana 7 puntos porcentuales y que viene calando cada vez más en la mente de los jóvenes.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Bancos
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g021 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g021 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g021 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g021 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g021 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g021 { gap: 10px; max-width: 300px; }
.marca-item_g021 { font-size: 11px; }
.color-circulo_g021 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g021 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g021 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g021 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSs3FOPLM6fsAjahbLHauRw…;;
const colores_g021 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g021 = window.innerWidth < 600;
const eventosGrafica_g021 = isMobile_g021 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g021',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g021(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g021() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g021');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g021');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g021, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g021');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g021[index % colores_g021.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g021';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g021').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g021,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g021() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g021');
if (el && isVisible_g021(el)) renderGrafica_g021();
requestAnimationFrame(checkVisibility_g021);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g021);
});
})();
.organizador{
display: flex;
height: 75px;
}
.linea-parrafo2{
border-bottom: 1.8px solid #eb5c2e;
width: 400px;
justify-content: center;
margin: 0;
}
.rombo1 {
position: absolute;
margin-bottom: 0px;
width: 9px;
height: 9px;
background: #eb5c2e;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo3{
display: flex;
width: 100%;
justify-content: center;
}
.titulo3{
font-family: 'SemanaSerif-Bold';
font-weight: 400;
font-style: normal;
font-size: 33px;
text-align: center;
line-height: 37px;
color: #eb5c2e;
}
.caja-blanca3{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo3{
font-size: 33px;
}
.mov-linea{
top: 80px;
}
}
Otras Categorías
De todo un pocoEn automóviles a la que más recuerdan es a Chevrolet y les empieza a sonar también Toyota. En aerolíneas, Avianca vuela alto, en tanto que, en los supermercados, los de ‘descuento duro’ ganan espacio, como D1 y Ara, pero no olvidan al Éxito. En comidas rápidas McDonald’s sigue siendo la líder, pero Burger King también empieza a dar buenas mordidas. En centros comerciales, aunque gana el ‘no recuerda’ sobresalen Gran Plaza, Santa Fe y Unicentro. En zapatos tenis el orden es Nike, Adidas y Puma, tres marcas que sobresalen, no solo en la categoría, sino también en el listado general de las más recordadas en toda la medición. En televisores reina Samsung, en consolas de videojuegos Xbox 360, en ropa informal Adidas, entre los cantantes colombianos que más recuerdan gana Karol G, en helados, Crem Helado, y es Rappi la que más tienen presente entre las Apps, domicilios y mercadeo.
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Automóviles
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g022 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g022 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g022 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g022 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g022 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g022 { gap: 10px; max-width: 300px; }
.marca-item_g022 { font-size: 11px; }
.color-circulo_g022 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g022 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g022 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g022 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g022 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g022 = window.innerWidth < 600;
const eventosGrafica_g022 = isMobile_g022 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g022',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g022(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g022() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g022');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g022');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g022, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g022');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g022[index % colores_g022.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g022';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g022').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g022,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g022() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g022');
if (el && isVisible_g022(el)) renderGrafica_g022();
requestAnimationFrame(checkVisibility_g022);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g022);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Aerolínea
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g023 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g023 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g023 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g023 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g023 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g023 { gap: 10px; max-width: 300px; }
.marca-item_g023 { font-size: 11px; }
.color-circulo_g023 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g023 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g023 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g023 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g023 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g023 = window.innerWidth < 600;
const eventosGrafica_g023 = isMobile_g023 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g023',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g023(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g023() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g023');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g023');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g023, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g023');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g023[index % colores_g023.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g023';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g023').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g023,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g023() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g023');
if (el && isVisible_g023(el)) renderGrafica_g023();
requestAnimationFrame(checkVisibility_g023);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g023);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Supermercados
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g024 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g024 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g024 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g024 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g024 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g024 { gap: 10px; max-width: 300px; }
.marca-item_g024 { font-size: 11px; }
.color-circulo_g024 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g024 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g024 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g024 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g024 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g024 = window.innerWidth < 600;
const eventosGrafica_g024 = isMobile_g024 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g024',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g024(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g024() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g024');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g024');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g024, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g024');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g024[index % colores_g024.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g024';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g024').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g024,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g024() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g024');
if (el && isVisible_g024(el)) renderGrafica_g024();
requestAnimationFrame(checkVisibility_g024);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g024);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Comida Rápida
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g025 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g025 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g025 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g025 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g025 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g025 { gap: 10px; max-width: 300px; }
.marca-item_g025 { font-size: 11px; }
.color-circulo_g025 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g025 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g025 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g025 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g025 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g025 = window.innerWidth < 600;
const eventosGrafica_g025 = isMobile_g025 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g025',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g025(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g025() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g025');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g025');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g025, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g025');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g025[index % colores_g025.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g025';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g025').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g025,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g025() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g025');
if (el && isVisible_g025(el)) renderGrafica_g025();
requestAnimationFrame(checkVisibility_g025);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g025);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Centros Comerciales
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g026 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g026 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g026 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g026 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g026 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g026 { gap: 10px; max-width: 300px; }
.marca-item_g026 { font-size: 11px; }
.color-circulo_g026 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g026 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g026 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g026 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g026 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g026 = window.innerWidth < 600;
const eventosGrafica_g026 = isMobile_g026 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g026',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g026(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g026() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g026');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g026');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g026, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g026');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g026[index % colores_g026.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g026';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g026').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g026,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g026() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g026');
if (el && isVisible_g026(el)) renderGrafica_g026();
requestAnimationFrame(checkVisibility_g026);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g026);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Zapatos - Tenis
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g027 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g027 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g027 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g027 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g027 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g027 { gap: 10px; max-width: 300px; }
.marca-item_g027 { font-size: 11px; }
.color-circulo_g027 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g027 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g027 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g027 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g027 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g027 = window.innerWidth < 600;
const eventosGrafica_g027 = isMobile_g027 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g027',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g027(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g027() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g027');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g027');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g027, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g027');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g027[index % colores_g027.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g027';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g027').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g027,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g027() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g027');
if (el && isVisible_g027(el)) renderGrafica_g027();
requestAnimationFrame(checkVisibility_g027);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g027);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Televisores
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g028 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g028 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g028 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g028 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g028 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g028 { gap: 10px; max-width: 300px; }
.marca-item_g028 { font-size: 11px; }
.color-circulo_g028 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g028 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g028 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g028 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g028 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g028 = window.innerWidth < 600;
const eventosGrafica_g028 = isMobile_g028 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g028',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g028(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g028() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g028');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g028');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g028, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g028');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g028[index % colores_g028.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g028';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g028').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g028,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g028() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g028');
if (el && isVisible_g028(el)) renderGrafica_g028();
requestAnimationFrame(checkVisibility_g028);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g028);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Consolas de Videojuegos
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g029 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g029 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g029 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g029 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g029 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g029 { gap: 10px; max-width: 300px; }
.marca-item_g029 { font-size: 11px; }
.color-circulo_g029 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g029 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g029 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g029 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g029 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g029 = window.innerWidth < 600;
const eventosGrafica_g029 = isMobile_g029 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g029',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g029(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g029() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g029');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g029');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g029, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g029');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g029[index % colores_g029.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g029';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g029').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g029,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g029() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g029');
if (el && isVisible_g029(el)) renderGrafica_g029();
requestAnimationFrame(checkVisibility_g029);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g029);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Ropa Informal
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g030 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g030 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g030 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g030 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g030 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g030 { gap: 10px; max-width: 300px; }
.marca-item_g030 { font-size: 11px; }
.color-circulo_g030 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g030 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g030 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g030 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g030 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g030 = window.innerWidth < 600;
const eventosGrafica_g030 = isMobile_g030 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g030',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g030(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g030() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g030');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g030');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g030, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g030');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g030[index % colores_g030.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g030';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g030').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g030,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g030() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g030');
if (el && isVisible_g030(el)) renderGrafica_g030();
requestAnimationFrame(checkVisibility_g030);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g030);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Cantantes Colombianos
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g031 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g031 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g031 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g031 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g031 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g031 { gap: 10px; max-width: 300px; }
.marca-item_g031 { font-size: 11px; }
.color-circulo_g031 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g031 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g031 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g031 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g031 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g031 = window.innerWidth < 600;
const eventosGrafica_g031 = isMobile_g031 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g031',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g031(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g031() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g031');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g031');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g031, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g031');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g031[index % colores_g031.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g031';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g031').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g031,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g031() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g031');
if (el && isVisible_g031(el)) renderGrafica_g031();
requestAnimationFrame(checkVisibility_g031);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g031);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #2a2a2a;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
Helados
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g032 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g032 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g032 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g032 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g032 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g032 { gap: 10px; max-width: 300px; }
.marca-item_g032 { font-size: 11px; }
.color-circulo_g032 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
}
.hidden-obj_g032 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g032 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g032 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g032 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g032 = window.innerWidth < 600;
const eventosGrafica_g032 = isMobile_g032 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g032',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g032(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g032() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g032');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g032');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g032, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g032');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g032[index % colores_g032.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g032';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g032').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g032,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g032() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g032');
if (el && isVisible_g032(el)) renderGrafica_g032();
requestAnimationFrame(checkVisibility_g032);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g032);
});
})();
@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: "SemanaSerif-Bold";
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
font-weight: bold;
font-style: bold;
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-…);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-E…);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-B…);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-L…);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-M…);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-R…);
}
.caja-titulo2{
display: flex;
width: 100%;
justify-content: center;
}
.titulo2{
font-family: 'SemanaSerif-BoldItalic';
font-weight: 400;
font-style: normal;
font-size: 29px;
text-align: center;
line-height: 32px;
color: #eb5c2e;
}
.caja-blanca{
width: 31px;
height: 8px;
position: absolute;
top: 48px;
background-color:white;
z-index: 1;
}
@media(max-width: 768px){
.titulo2{
font-size: 27px;
}
.mov-linea{
top: 80px;
}
}
APP Domicilios y Mercado
.body-graf-g03 {
font-family: Arial, sans-serif;
max-width: 820px;
margin: 10px auto;
padding: 20px;
box-sizing: border-box;
}
canvas#grafica_g033 {
width: 100% !important;
height: 500px !important;
display: block;
margin: 0 auto;
}
#marcas-lista_g033 {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 10px;
gap: 20px;
max-width: 800px;
margin: auto;
}
.marca-item_g033 {
display: flex;
align-items: center;
font-size: 13px;
color: #4C4C4C;
}
.color-circulo_g033 {
width: 9px;
height: 9px;
background-color: grey;
border-radius: 2px;
margin-right: 5px;
}
@media (max-width: 600px) {
.body-graf-g03 { padding: 0; }
canvas#grafica_g033 {
width: 100vw !important;
height: 400px !important;
max-height: 500px;
}
#marcas-lista_g033 { gap: 10px; max-width: 300px; }
.marca-item_g033 { font-size: 11px; }
.color-circulo_g033 {
width: 8px;
height: 8px;
margin-right: 3px;
}
}
.caja-logo-dinero {
display: flex;
position: relative;
justify-content: right;
width: 100%;
max-width: 750px;
margin: auto;
height: 50px;
border-top: 0.8px solid #E9E9EA;
margin-bottom: 40px;
}
.hidden-obj_g033 {
opacity: 0;
position: relative;
top: 40px;
transition: opacity 0.6s ease-out 0.3s, top 0.6s ease-out 0.3s;
}
.visible-obj_g033 {
opacity: 1;
top: 0;
}
Base: 400
(function () {
const csvUrl_g033 = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSG4tGhatLUMw7jTRtQaRQh…;;
const colores_g033 = ['#000000', '#2CB0FB', '#DB1212', '#FC8535', '#3366CC', '#6FD82B', '#990099', '#FFCC00', '#2C6593', '#660066', '#339966', '#003399'];
const isMobile_g033 = window.innerWidth < 600;
const eventosGrafica_g033 = isMobile_g033 ? ['click'] : ['mousemove', 'click'];
Chart.register({
id: 'crosshairLine_g033',
afterDraw(chart) {
if (chart.tooltip._active && chart.tooltip._active.length) {
const ctx = chart.ctx;
ctx.save();
const activePoint = chart.tooltip._active[0];
ctx.beginPath();
ctx.moveTo(activePoint.element.x, chart.chartArea.top);
ctx.lineTo(activePoint.element.x, chart.chartArea.bottom);
ctx.lineWidth = 1;
ctx.strokeStyle = '#4F4F4F';
ctx.stroke();
ctx.restore();
}
}
});
function isVisible_g033(el) {
const rect = el.getBoundingClientRect();
return rect.top < window.innerHeight - 50;
}
function renderGrafica_g033() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g033');
if (!el || el.dataset.rendered) return;
el.classList.add('visible-obj_g033');
el.dataset.rendered = "true";
Papa.parse(csvUrl_g033, {
download: true,
header: true,
dynamicTyping: true,
skipEmptyLines: true,
complete: function(results) {
const data = results.data.filter(row => row && Object.keys(row).length > 1);
const columnas = Object.keys(data[0]).filter(c => c !== "Marcas");
const nombres = data.map(row => (row["Marcas"] || "").trim());
const lista = document.getElementById('marcas-lista_g033');
lista.innerHTML = "";
const datasets = data.map((row, index) => {
const color = colores_g033[index % colores_g033.length];
const nombre = nombres[index] || `Marca ${index+1}`;
const marcaDiv = document.createElement('div');
marcaDiv.className = 'marca-item_g033';
marcaDiv.innerHTML = ` ${nombre}`;
lista.appendChild(marcaDiv);
return {
label: nombre,
data: columnas.map(col => row[col]),
fill: false,
borderColor: color,
backgroundColor: color,
pointBackgroundColor: color,
pointBorderColor: color,
tension: 0.4
};
});
const ctx = document.getElementById('grafica_g033').getContext('2d');
new Chart(ctx, {
type: 'line',
data: { labels: columnas, datasets: datasets },
options: {
responsive: true,
maintainAspectRatio: false,
events: eventosGrafica_g033,
layout: { padding: { left: 10, right: 10, top: 20, bottom: 10 } },
interaction: { mode: 'index', intersect: false, axis: 'x' },
plugins: {
legend: { display: false },
tooltip: {
enabled: true,
mode: 'index',
intersect: false,
backgroundColor: 'rgba(255,255,255,0.9)',
borderColor: '#A0A0A0',
borderWidth: 1,
titleColor: '#2D2D2D',
titleFont: { size: 16 },
bodyColor: '#2D2D2D',
callbacks: {
label: ctx => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
labelPointStyle: () => ({ pointStyle: 'rect', rotation: 0 })
}
}
},
elements: {
line: { borderWidth: ctx.canvas.clientWidth < 600 ? 0.5 : 1 },
point: {
radius: ctx.canvas.clientWidth < 600 ? 0.75 : 1,
hoverRadius: ctx.canvas.clientWidth < 600 ? 2.5 : 3,
borderWidth: 1
}
},
scales: {
y: {
beginAtZero: true,
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 }),
callback: value => value + '%'
}
},
x: {
grid: {
display: true,
drawOnChartArea: true,
drawTicks: false,
color: ctx => ctx.tick ? '#f7f7f7' : 'transparent',
lineWidth: 1
},
ticks: {
padding: 5,
color: '#939393',
font: ctx => ({ size: ctx.chart.width < 600 ? 8 : 12 })
}
}
}
}
});
}
});
}
function checkVisibility_g033() {
const el = document.querySelector('.body-graf-g03.hidden-obj_g033');
if (el && isVisible_g033(el)) renderGrafica_g033();
requestAnimationFrame(checkVisibility_g033);
}
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(checkVisibility_g033);
});
})();
.caja-todo10{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: 100%;
max-width: 600px;
justify-content: center;
margin: 10px auto;
}
.caja-imagenes10{
margin: auto;
}
.caja-imagenes10 img{
-webkit-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
-moz-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
max-width: 180px;
height: 180px;
width: 100%;
z-index: 1;
}
.img_sep{
margin: auto;
}
.linea_izq{
width: 100%;
height: 100%;
max-width: 80%;
max-height: 2.5px;
background: #eb5c2e;
margin: auto;
}
@media (max-width: 768px){
.caja-todo10{
grid-template-columns: 25% 50% 25%;
max-width: 380px;
}
.linea_izq{
max-width: 80%;
}
}
.caja-todo-gif{
width: 100%;
display: flex;
justify-content: center;
margin: 10px 0;
}
.linea-sep{
transform: translateX(171px);
margin-top: 99px;
position: absolute;
height: 2px;
width: 400px;
background: #f29100;
}
.linea-sep2{
transform: translateX(-171px);
margin-top: 99px;
position: absolute;
height: 2px;
width: 130px;
background: #f29100;
}
.caja-gif img{
-webkit-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
-moz-box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
box-shadow: 3px 4px 21px -3px rgba(104,86,62,0.29);
max-width: 730px;
max-height: 70px;
width: 100%;
z-index: 1;
}
@media (max-width: 768px){
.linea-sep{
transform: translateX(148px);
margin-top: 99px;
position: absolute;
height: 2px;
width: 97px;
margin-right: 0;
background: #f29100;
}
.linea-sep2{
transform: translateX(-148px);
margin-top: 99px;
position: absolute;
height: 2px;
width: 97px;
margin-left: 0;
background: #f29100;
}
.caja-gif img{
max-width: 220px;
max-height: 70px;
}
}