Multi Crypto-7day-SMA
✓ Published0🌍 Public
This interactive line chart displays the daily closing prices of multiple cryptocurrencies alongside their 7-day simple moving averages, allowing users to compare trends for BTC, AAVE, XMR, and LTC via radio buttons. The visualization uses D3 v5 with SVG rendering, employing d3.scaleTime, d3.scaleLinear, and d3.line to plot the data from a CSV file hosted on GitHub. The calculateSMA function computes the moving average, while axes, legends, and labels are dynamically updated on selection changes.
AI-generated descriptionThis line chart shows History of lending rates from 1956 to present. The data comes from ( https://www.kaggle.com/datasets/thedevastator/historical-prime-rates-and-related-significant-e?select=historical_prime+rate.csv).
MIT Licensed