Skip to main content
100%

Multi Crypto-30day-SMA

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

This interactive line chart displays the 30-day simple moving average of closing prices for AAVE, XMR, and LTC cryptocurrencies, with data sourced from a Kaggle dataset. Users select a cryptocurrency via radio buttons, triggering an update function that redraws the time-series lines and axes. The visualization uses D3 v5’s `d3.scaleTime`, `d3.scaleLinear`, `d3.line`, and `d3.axisBottom`/`d3.axisLeft` to render SVG paths, while a custom `calculateSMA` function computes the moving average.

AI-generated description

This line chart shows 30 days Simple Moving Average of Closing prices for AAVE, XMR and LTC. 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