Challenges
Solutions
Log In
Sign Up
Medium
Bitcoin Price Tracking Graph
When you are ready to showcase your work and gather feedback, start the challenge.
Sign up to collab
Requirements
Use a graphing library to create a line graph that tracks Bitcoin prices over a specified time period (e.g., last 30 days).
Find and integrate with an API that provides Bitcoin price data.
The graph should update dynamically to reflect the latest data.
Notes
Focus on functionality, including fetching data from the API and rendering the graph.
Ensure the graph includes appropriate labels, axes, and a legend if necessary.
Suggested Graphing Libraries
Chart.js (https://www.chartjs.org/)
D3.js (https://d3js.org/)
Plotly.js (https://plotly.com/javascript/)
shadcn/ui (https://ui.shadcn.com/docs/components/chart)
Example API
Coindesk API (https://api.coindesk.com/v1/bpi/currentprice.json)
CoinGecko API (https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin)
Recent Submissions
Be the first to submit a solution.