ICE6Rinoj Bar Graph
✓ Published0🌍 Public
A horizontal bar chart displays smoking rates across twelve U.S. states, with a pink rectangle for each state scaled by its rate. The visualization is built with React and rendered as SVG, using d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis. Data is loaded asynchronously via d3.csv from a GitHub gist, and axes are drawn manually with grid lines. The chart includes a title and visual emphasis through colored bars, with tick labels generated by d3's scale methods.
AI-generated descriptionReact Starter code.
MIT Licensed