d3moji
📈 First class emoji support for D3
installation
browserify
npm install d3moji
var d3 = d3; // require and apply the plugin
old school
The plugin is automatically applied when d3 is found on the window object.
usage
Adding emoji to the svg
svg // codes taked from http://www.emoji-cheat-sheet.com/ the enclosing :colons: aren't necessary // do all the standard d3 stuff
selecting emoji
d3; // select the first one foundd3; // select all emoji