Create Chart Axes with D3 v4

Share this video with your friends

Send Tweet

Most charts aren’t complete without axes to provide context and labeling for the graphical elements being displayed. This lesson introduces D3’s APIs for creating, customizing, and displaying axes while building on topics from previous lessons.

Sergey
Sergey
~ 6 years ago

Hello there. Question about .ticks(d3.timeMinute.every(45)). Why aren't intervals between ticks the same? I'd expect ticks to be: 6am 6:45 7:30 8:15 ... But instead it shows: 6am 6:45 7am 7:45 8am 8:45 ... Thanks in advance!

Sergey
Sergey
~ 6 years ago