UNPKG

kibana-123

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

14 lines (12 loc) 306 B
import d3 from 'd3'; /** * Creates a string based on the hex color passed in * * @method dataLabel * @param d {Object} object to wrap in d3.select * @returns {string} label value */ function dataLabel(selection, label) { d3.select(selection).attr('data-label', label); } export default dataLabel;