Use d3.scaleBand() to create a bar chart, then apply styles to a category of bars to provide visual "popout." See pp.39-40 of this slideshow for a brief discussion of visual popout.
xxxxxxxxxx
<html>
<head>
<style>
body {
font-family: "Helvetica Neue", sans-serif;
width: 607.141px;
margin: 0 auto;
display: table;
}
</style>
</head>
<body>
<div class="chart"></div>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="scripts.js"></script>
</body>
</html>
https://d3js.org/d3.v4.min.js