<head>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
<div id="graph"></div>
</body>
Plotly.newPlot('graph', [{
x: [1, 2, 3],
y: ['B', 'B', 'B']
}], {
yaxis: {
range: [0, 5],
categoryarray: ['A', 'B', 'C', 'D', 'E']
}
})
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.