Skip to main content
100%

My Line Chart

✓ Published0🌍 Public
FFramnk
Last edited Apr 12, 2022
Created on Apr 12, 2022
Forked from D3 Starter

This line chart visualizes a user’s 2020 internet usage in gigabytes over time, with a highlighted band marking usage above 100 GB. The D3 v5 code loads CSV data, uses `d3.scaleTime` and `d3.scaleLinear` for axes, and draws the line with `d3.line`. It includes interactive tooltips triggered by `mousemove` events on a transparent overlay, using `d3.scan` to find the closest data point. The SVG rendering features custom axes, labels, and a dashed vertical guide.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes