etElementById('now-target-text').style.left = currentPosition + '%';
        });

        // Sample data (replace with your actual data)
        const price_chart = JSON.parse('[{"date": "2024-09-06", "open": 232.6, "high": 233.6, "low": 210.51, "close": 210.73, "adjClose": 210.73, "volume": 110159404, "unadjustedVolume": 110159404, "change": -21.87, "changePercent": -9.4, "vwap": 221.86, "label": "September 06, 24", "changeOverTime": -0.094}, {"date": "2024-09-05", "open": 223.49, "high": 235, "low": 222.2