Skip to main content
100%

Crypto-90day-SMA

✓ Published2🌍 Public
Ssenthilrajendran1
Last edited Apr 7, 2023
Created on Apr 7, 2023
Forked from Crypto-30day-SMA

This visualization charts Bitcoin’s daily closing price as a steelblue line, overlaying a bright green 90-day simple moving average derived from the same data. It uses d3.csv to load the historical price dataset, d3.scaleTime and d3.scaleLinear for axes, and d3.line to generate both SVG paths. A custom calculateSMA function computes the rolling average, while d3.axisBottom and d3.axisLeft render the time and price scales, with a legend and bold axis labels added for clarity.

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