Google News
logo
D3.js - Interview Questions
How to format the date in d3.js?
> formatDate = d3.time.format("%b-%Y")
> formatDate(parseDate('2020-02-02'))
"Feb-2020"
Advertisement