Fork of Stylised Bar chart
✓ Published0🌍 Public
This horizontal bar chart displays populations for US cities, sorted in descending order with bars extending along a linear population scale. Built with React and D3 v7, it uses `d3.csv` to load data from a Gist-hosted CSV file and `d3.axisBottom` and `d3.axisLeft` for axes. The chart applies `scaleBand` for city categories and `scaleLinear` for population values, rendering bars as SVG `rect` elements with optional value labels via `d3.format`. A custom axis component adds faint vertical gridlines.
AI-generated descriptionMIT Licensed