d3.js - Conditional formatting of labels on x axis with dimple -


i have simple dimple chart similar basic example at: http://dimplejs.org/examples_viewer.html?id=bars_vertical

the x axis shows dates. question: how display label in eg. red color if date matches today ?

i tried unsuccesfully: - add tags no-go since svg's text not support html - change class name through dimple or d3.js no success

probably result can achieved directly accessing dom node , changing css fill style there mode elegant method ?


Comments