Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with D3.js

Public visualization

Viewing a saved revision (read-only)

6bdc77aa1b8b47a797ce474917613bfc

Line Chart with D3.js

0 stars0🌍 Public
TTajallah-maryam
Last edited Mar 25, 2020
Created on Mar 25, 2020

This line chart visualizes the Bitcoin Price Index from December 2017 to April 2018, using historical data fetched from the CoinDesk API. The chart displays price trends over time with a red line, clearly showing fluctuations in Bitcoin’s value across the four-month period. The visualization is built with D3.js v4, using `d3.scaleTime` and `d3.scaleLinear` for the axes, `d3.line` for the path, and `d3.axisBottom` and `d3.axisLeft` for the labeled axes. The data is parsed from JSON into date-value pairs, and the SVG rendering includes styled gridlines, tick labels, and an axis label for price in dollars.

AI-generated description