Skip to main content
100%

ICE6Rinoj Bar Graph

✓ Published0🌍 Public
RRinoj-Gautam
Last edited Mar 23, 2023
Created on Mar 22, 2023
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes