JSFiddle - React, Tailwind, and code Playground
HTML
Follow the directions in the JavaScript panel to create your first D3 chart!
Goal: Make a bar chart that looks like <a href="https://raw.githubusercontent.com/Yonet/d3-workshop/master/images/example.png">this</a>
<div class="chart"></div>
JavaScript
var data = [3, 7, 21, 31, 35, 42];
//select chart div
//bind data array
//append nodes as a div
//add style and text