Skip to main content
100%

Transaction History

✓ Published0🌍 Public
WWiebke
Last edited Jul 8, 2023
Created on Jul 8, 2023
Forked from ICE-7 Line Chart

This example shows a line chart of transaction history, plotting cost over time for a dataset loaded from a remote CSV file. The visualization uses D3 v5 (`d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line`) to render an SVG line path, with labeled axes and a title. The code parses the CSV values, converts the date column to JavaScript `Date` objects, and applies margins to position the chart within a fixed 960×500 SVG canvas. Grid lines are drawn via tick sizes, and the line stroke is styled in blue.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes