.years-distribution {
    position: relative;
    white-space: nowrap;
    border: 1px solid #637cce;
    line-height: 0;
    height: 35px;
    display: flex;
    align-items: flex-end;
    width: 122px;
    margin: 0 10px;
}
.years-distribution:before, .years-distribution:after {
    position: absolute;
    color: #2b375f;
    font-size: 10px;
    writing-mode: vertical-lr;
    top: 5px;
}
.years-distribution:before {
    content: '1900';
    left: -7px;
}
.years-distribution:after {
    content: '2019';
    right: -5px;
}
.years-distribution div {
    width: 1px;
    background: #566cb3;
}
