Skip to main content
100%

Crypto-30day-SMA

✓ Published2🌍 Public
Ssenthilrajendran1
Last edited Apr 30, 2023
Created on Apr 7, 2023
Forked from Crypto-7day-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 description

This 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

Similar vizzes