Crime Viz
✓ Published0🌍 Public
This bar chart visualizes crime statistics across Nigeria’s 20 most dangerous states in 2016, with horizontal bars sorted by total reported cases. The visualization uses React and D3 v5, leveraging `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data is loaded asynchronously via `d3.csv` from a GitHub gist, formatted with custom tick formatting that abbreviates large numbers. SVG rectangles render the marks, with native `<title>` elements providing hover tooltips. The chart includes labeled axes, a title, subtitle, and source attribution.
AI-generated descriptionLoads data using React and D3 utilities, Bare minimum for projects
MIT Licensed