Skip to main content
100%

Line Chart with D3.js

✓ Published1🌍 Public
TTajallah-maryam
Last edited Mar 25, 2020
Created on Mar 25, 2020

This line chart visualizes the daily closing price of Bitcoin from December 31, 2017, to April 1, 2018, using data fetched from the CoinDesk API. The chart is drawn as an SVG using D3.js v4, with a time-scaled x-axis and a linear y-axis representing price in dollars. The line path is generated via `d3.line()` with rounded line joins and caps, styled in steel blue, and axes are labeled using `d3.axisBottom` and `d3.axisLeft`. The dataset, parsed into date–value pairs, is rendered without additional point marks, focusing on the trend.

AI-generated description
MIT Licensed

Similar vizzes