barChart .width(containerWidth) .height(300) .on('customMouseHover', tooltip.show) .on('customMouseMove', tooltip.update); .on('customMouseOut', tooltip.hide); barContainer.datum(dataset).call(barChart); tooltipContainer = d3.select('.bar-chart .metadata-group'); tooltipContainer.datum([]).call(tooltip);
Check the data input schema of this chart.
Export this chart by pressing
barChart .horizontal(true) .width(containerWidth) .height(300); barContainer.datum(dataset).call(barChart);
barChart .width(containerWidth) .height(300); barContainer.datum(dataset).call(barChart);