Crypto-30day-SMA
This line chart displays Bitcoin’s daily closing price alongside its 30-day simple moving average (SMA), with the SMA overlaid as a green line to highlight long-term trends. The chart uses d3.csv to load data from a GitHub-hosted CSV, d3.scaleTime and d3.scaleLinear for axes, and d3.line to render both paths. A custom JavaScript function calculates the SMA by averaging closing prices over a sliding 30-day window. The visualization is rendered as an SVG, includes an axis label, a legend, and a title, and sources its data from a Kaggle dataset on historical crypto prices.
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).