Ranking US internet speeds | Davo Galavotti | Observable
Author
Davo Galavotti
@davo
Experimental UI. 2D/3D. Limited capacity. Work in progress.
Comments (1)
Davo Galavotti
Sep 23, 2023
d3.selectAll(".speed") .transition("changeDownloadValue") .duration(duration / 1.125) .textTween(function({downloadSpeed}) { const that = d3.select(this), i = d3.interpolateNumber(that.text(), downloadSpeed); return t => { that.text(i(t)); }; }); d3.selectAll(".speed") .transition("changeDownloadValue") .duration(duration / 1.125) .text(0) .transition("animateNumber") .duration(duration) .delay(duration / 1.125) .text(({ downloadSpeed }) => downloadSpeed);selectAll(".speed") .transition("changeDownloadValue") .duration(duration / 1.125) .textTween(function({downloadSpeed}) { const that = d3.select(this), i = d3.interpolateNumber(that.text(), downloadSpeed); return t => { that.text(i(t)); }; }); d3.js v6
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
1
Follow
Follow
Ranking US internet speeds | Davo Galavotti | Observable