<div class="data">
<div class="fixed">Данные</div>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
</div>
.data {
display: flex;
gap: 1rem;
overflow-x: scroll;
position: relative;
}
.fixed {
position: sticky;
z-index: 1;
left: 0;
}