Medium

Bitcoin Price Tracking Graph

When you are ready to showcase your work and gather feedback, start the challenge.

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

  1. Chart.js (https://www.chartjs.org/)
  2. D3.js (https://d3js.org/)
  3. Plotly.js (https://plotly.com/javascript/)
  4. 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.