lineDataToElements(lineData) {
        return lineData.map(line => {
            let div = document.createElement('div');
            div.innerHTML = `<span ${this._attributes(line)}>${line.value || ''}</span>`;

            return div.firstElementChild;
        });
    }
Converts line data objects into line elements.

@param {Object[]} lineData - Dynamically loaded lines.
@param {Object} line - Line data object.
@returns {Element[]} - Array of line elements.