D3 crypto line chart

Developing an interactive line chart for cryptocurrency prices

Pen is loading... You can also check it out directly on CodePen instead.

While taking Adams Jane's Udemy course on D3.js, I've created an interactive line chart showing the price of the popular cryptocurrencies over time.

The graph and the axis dynamically adapt to the selected time range and corresponding data set, which allows the user to interact with the graph in a very pleasant way.

I was honestly quite impressed with how smoothly the graph updates when you change the dataset, such as using the date range slider. It's all SVG, no canvas is used.

tech stack

  • JavaScript

  • D3.js